Re: Gradual Growth of Memory Use?
"David McClain (as dbm at refined-audiometrics dot com)" <[email protected]>
| Newsgroups | gmane.lisp.lispworks.general |
|---|---|
| Message-ID | <[email protected]> |
I did a test. I have a background logo image converted from a disk image file. I keep that cached so that the conversion to internal form only happens once. It will be free’d at LWW exit. But if the explorer.exe is using any kind of stack allocation, it is possible that this image could be standing in the way of freeing any additional images. So I disabled the background logo. That did not appear to make any difference to the memory accumulation. > On Mar 15, 2025, at 12:21, David McClain <[email protected]> wrote: > > I don’t know the answer to that. > > I would have to keep track of which pane has an image constructed for it, for re-use. And then any resizing or background drawing on the pane would have to reconstruct the image, wouldn’t it? > > So it seems not very useful to cache an image for any panes. > > > >> On Mar 15, 2025, at 11:57, Yuri Davidovsky <[email protected]> wrote: >> >> >> >>> On 15 Mar 2025, at 19:53, David McClain (as dbm at refined-audiometrics dot com) <[email protected]> wrote: >>> >>> So it looks like resources are being requested from Win/11 and not actually being freed up. >> >> Is it possible to reuse the image objects? In a similar fashion your data acquisition buffers are reused. > _______________________________________________ Lisp Hug - the mailing list for LispWorks users [email protected] http://www.lispworks.com/support/lisp-hug.html