Memory leak with OWB
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Cool_amigaN
    Posts: 753 from 2011/11/30
    Hello, I have noticed since first usage of Odyssey that there is a massive memory leak.. and when I am talking about massive proportions, I mean it!
    Main system's componenets are: PowerMac G4@1,6GHz, 2GB Ram (1.5GB avail. under MorphOS). Software: MorphOS 3.1 + PackUltimate 3.1 / Odyssey v 1.17.
    Thing is that frequently I am opening lots of tabs (say 6-8) whereas always half of them are bloatware sites (starting from Youtube, Gmail to Facebook and others).
    Providing that the memory gadget on screenbar tells the truth, Odyssey requires only 80MB of Ram to boot and 30MB additionally when the spellchecker.library is accessed. Afterwards, around 80-100MBs of Ram are required for 1 YT webpage displaying a video (i,e. the famous 100 Amiga games in 10 mins) and the same amount for Gmail access. Problem is that even if I am closing the Gmail tab, the ram gadget shows that memory was NOT became free once again!
    After some hours of browsing (around 4-5) I am sure that I can reach it till zero (I had reach till 200MB Ram avail with NO tab openened other than the white page of "new tab"!.).
    Problem is replicable in my system and happens every time. Only solution is to close Odyssey entirely and open it again. Is there any log that I could sent t the author?
    Amiga gaming Tribute: Watch, rate, comment :)
  • »10.08.12 - 01:23
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Crumb
    Posts: 732 from 2003/2/24
    From: aGaS & CUAZ Al...
    Oddisey doesn't free the ram used until you close completely the program.

    Gmail eats memory like there was no tomorrow.

    For future Oddisey versions it would be nice that it freed ram used by closed tabs.

    [ Edited by Crumb 10.08.2012 - 09:47 ]
  • »10.08.12 - 08:13
    Profile Visit Website
  • MorphOS Developer
    Krashan
    Posts: 1107 from 2003/6/11
    From: Białystok...
    It should be also noted that when Odyssey plays a video (for example from YouTube), it buffers the whole stream in memory. Yes, sounds crazy, but it is what happens.
  • »10.08.12 - 10:40
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    osco
    Posts: 680 from 2009/10/21
    From: Boston, USA
    Say I am watching a live stream and want an instant relay OWB has the mechanics to do it? :-D
    Thats great!
    Mac Mini 1.5GHz, 1G, 250G Drive, Apple Cinema Display, MorphOS 3.1 registered, MacOS 10 PowerBook (5,8) 1.67Hz, 2G, 80G Drive,........Waiting
    PowerBook (5,8) 1.67Hz, 2G, 40G MorphOS 3.1 unregisterd
  • »10.08.12 - 10:45
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    @Crumb

    It's really more subtle than not freeing the memory when closing a tab. Of course it frees the allocated memory, except for the javascript related data that is kept in virtual space.
  • »10.08.12 - 13:17
    Profile Visit Website
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    @krashan

    You have cvs access, feel free to write the code to avoid that. ;)
  • »10.08.12 - 13:18
    Profile Visit Website