realbasic-nug
[Top] [All Lists]

Re: Version 4 memory usage

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Version 4 memory usage
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Wed, 27 Feb 2002 19:09:25 -0800
At 1:31 PM -0500 2/27/02, Charles Yeomans wrote:

Is it just me, or do apps compiled with RB 4 require more memory? I've an application which appears to be sucking up a lot more memory in v4.

The only significant change in memory usage I can think of is that the stack size is now 256K instead of about 20K. That's per thread, so if you have a lot of simultaneous threads, you'll need to increase your memory allocation proportionally. (The change was to allow you to do a reasonable amount of recursion before overflowing the stack.)

Cheers,
- Joe

--
,------------------------------------------------------------------.
|    Joseph J. Strout           REAL Software, Inc.                |
|    joe at realsoftware dot com       http://www.realsoftware.com        |
`------------------------------------------------------------------'


<Prev in Thread] Current Thread [Next in Thread>