Menu

#7 Memory leak in popup

open-accepted
nobody
None
4
2003-04-22
2003-04-20
Anonymous
No

I've noticed a substantial memory leak pertaining to
popup menus. With my current theme, litestep (Indie
build: Feb 9 2003) initially takes up around 7 mb of
RAM. Every entry in the popup menu increases the
amount of RAM litestep is using, yet after the popups
are all closed, memory usage remains the same. Going
back to the same popup entry even requires additional
memory. Earlier today, litestep was taking over 50 mb
of RAM. I terminated litestep, and when I restarted
it, it was back down to using only 7 mb of RAM.

Eric Harlan
sarius07 at yahoo.com

Discussion

  • ilmcuts

    ilmcuts - 2003-04-22
    • priority: 5 --> 4
    • status: open --> open-accepted
     
  • ilmcuts

    ilmcuts - 2003-04-22

    Logged In: YES
    user_id=313717

    Can you post your popup settings (ie. the ones starting
    with "Popup", not the star lines like "*Popup"). If you use
    popup icons try to disable them and see if that helps. Also
    make sure you are not using label version 1.94-1.97, as they
    have a huge memory leak.

     
  • Nobody/Anonymous

    Logged In: NO

    Okay, so I tried it without the icons, and it was a lot
    better. Memory usage was increasing, but I didn't see a
    direct corrolation between the increases (which were far
    less than before) and popup menus. I'm using label v. 1.98.
    If you want my theme for debugging or anything, it's at
    http://filebox.vt.edu/users/eharlan/geek/sparse.zip and here
    are my popup settings...

    ;-----------------
    ; popup
    ;-----------------

    PopupAdaptiveWidth true

    HotlistName "[sparse]"

    PopupTitleAlignment right
    PopupEntryAlignment left

    PopupFontFace "$fontFace$"
    PopupFontHeight 10
    PopupTitleBold true
    PopupEntryFontFace "$fontFace$
    PopupEntryFontHeight 10

    PopupTitleColor $fontColor$
    PopupFolderColor $fontColor$
    PopupSelFolderColor $fontColor$
    PopupEntryColor $fontColor$
    PopupSelEntryColor $fontColor$

    PopupIcons
    PopupNoBevel true

    PopupBevelLightColor 000000
    PopupBevelDarkColor 000000

    PopupEntryBgColor $back$

    PopupBLT 1
    PopupTitlePix "popup_top.bmp"
    PopupBottomPix "popup_bot.bmp"
    PopupSeparatorPix "popup_separator.bmp"
    PopupSelEntryPix "popup_selected.bmp"
    PopupArrowImage "popup_arrow.bmp"

    PopupOverlapX -10
    PopupOverlapY -15

    Eric Harlan
    sarius07 at yahoo.com

     

Log in to post a comment.

MongoDB Logo MongoDB