realbasic-nug
[Top] [All Lists]

Re: Listbox memory leak

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Listbox memory leak
From: jda <jda at his dot com>
Date: Wed, 27 Feb 2002 16:52:40 -0500
Hmm, I tried scrolling -- no change in pointer/handle allocated (one
list with 2 columns, one with 4). The 200 bytes/2 handles get lost
only once, when the list is closed.

What if you just open and close the window with the listbox?

Jon


jda wrote:

 I've found that when you open a window that contains a listbox, there
 is leak of 2 handles (about 200 bytes). Anyone else seen this?
 4.0.2fc5.

I have the same problem. A listbox with 4 columns. The more data I put
into it, the worse it gets. Each time I scroll the listbox, around 4Kb
of memory gets ripped off and never gets returned to my app. If I do
enough scrolling, I end up with a "This application ran out of memory
and must quit now" error...

André L.





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