Xojo Conferences

(offlist) Re: allocation conflict... (Real Studio Plugins Mailinglist archive)

Back to the thread list
Previous thread: Extending a class in classic
Next thread: statechanged controlbehavior callback on windows vs mac

Re: allocation conflict...   -   Thomas Tempelmann
  (offlist) Re: allocation conflict...   -   Jonathan Johnson
    Re: (offlist) Re: allocation conflict...   -   Jonathan Johnson

(offlist) Re: allocation conflict...
Date: 13.06.04 16:10 (Sun, 13 Jun 2004 10:10:21 -0500)
From: Jonathan Johnson

On Jun 13, 2004, at 9:59 AM, Thomas Tempelmann wrote:
> Is that correct?

That sounds somewhat correct. However, I'm not an engineer, so I'll let
someone else chime in.

> If so, that means that my values above show quite a significant
> memory fragmentation, or that the pools get increased before
> the freed chunks in the older pool areas are re-used.
> And for problem (a), well, I have no idea how to find the leak(s).

Here's how: apply the same hack that you did to speed up compiles on
classic, except change the "chunk size" to 0 -- it will then always use
malloc/NewPtr. When in OS X, you can use MallocDebug (one of the
developer tools), and hopefully narrow it down via that route.

I sent this off-list because I don't think it's "proper" for a REAL
Software employee to tell you to try your previous hack ;) However,
doing so may help you narrow it down.


Re: (offlist) Re: allocation conflict...
Date: 13.06.04 16:11 (Sun, 13 Jun 2004 10:11:40 -0500)
From: Jonathan Johnson
Or maybe not as off-list as I thought....



Unsubscribe or switch delivery mode:

Search the archives of this list here: