[Fixed]Algodoo 1.7.1 memory leak
11 posts • Page 1 of 1
[Fixed]Algodoo 1.7.1 memory leak
Edit: by tatt61880
Fixed at v1.7.5!
This bug was seen with v1.7.1 - v1.7.4. (No problem with v1.7.0).
-Tatt
----
Seems like I've find easy way to spot memory leak in 1.7.1
Run sim and wait ~ 40 sec (on my pc) for "out of memory" error.
You can also monitor memory usage in task manager.
[scene]42650[/scene]
Please reply if you replicate that. Thanks.
Fixed at v1.7.5!
This bug was seen with v1.7.1 - v1.7.4. (No problem with v1.7.0).
-Tatt
----
Seems like I've find easy way to spot memory leak in 1.7.1
Run sim and wait ~ 40 sec (on my pc) for "out of memory" error.
You can also monitor memory usage in task manager.
[scene]42650[/scene]
Please reply if you replicate that. Thanks.
Last edited by tatt61880 on Mon Sep 27, 2010 3:28 pm, edited 1 time in total.
Reason: Fixed!
Reason: Fixed!
Dream of Algodoo as game development engine...
-

Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: Algodoo 1.7.1 memory leak
Thats an old problem, but it has gotten very visible in 1.7.1.
There is a memory leak somewhere when you kill objects and it can be seen in the task manager(windows).
it gets to almost 2 gigs of ram usage before it dies.
There is a memory leak somewhere when you kill objects and it can be seen in the task manager(windows).
it gets to almost 2 gigs of ram usage before it dies.
Phundamentalists, come to the dark side.
We have much cooler toys.
We have much cooler toys.
-

RaRaMalum - [Best newcomer 2010]
- Posts: 280
- Joined: Mon Aug 31, 2009 10:47 pm
Re: Algodoo 1.7.1 memory leak
There is this problem in Linux too, but it hadn't said me "Out of memory" or something like this, it just wasted 2 gigs of memory and a half of swap
And it generates zombie process which is bad too.
-

savask - Posts: 162
- Joined: Mon Oct 12, 2009 2:53 pm
- Location: Russia, Siberia
Re: Algodoo 1.7.1 memory leak
I got this problem this week, and the warning sayd that I have to set the maxUndo lower, but I haven't changed it.
Cave Johnson wrote:Do you know who I am? I'm the man who's gonna burn your house down! With the lemons! I'm gonna get my engineers to invent a combustible lemon that burns your house down!
-

Matten - Posts: 435
- Joined: Mon Apr 05, 2010 2:03 pm
- Location: The Netherlands
Re: Algodoo 1.7.1 memory leak
same problem is in 1.7.2
Phundamentalists, come to the dark side.
We have much cooler toys.
We have much cooler toys.
-

RaRaMalum - [Best newcomer 2010]
- Posts: 280
- Joined: Mon Aug 31, 2009 10:47 pm
Re: Algodoo 1.7.1 memory leak
Any idea of a cause of this, i wonder if there is a way to do a quick and dirty fix, but if it's a problem with the actual way the structure is built, then it may be impossible to fix.
- tech2077
- Posts: 17
- Joined: Thu Jun 10, 2010 4:30 am
Re: Algodoo 1.7.1 memory leak
Great news: this will be fixed in 1.7.5!
Emil Ernerfeldt, lead developer
- emilk
- Posts: 616
- Joined: Mon Aug 31, 2009 11:01 am
- Location: Umeå, Sweden
Re: Algodoo 1.7.1 memory leak
emilk wrote:Great news: this will be fixed in 1.7.5!
How about geval() object spawning with dynamic properties - will it work fine too ?
viewtopic.php?f=11&t=2547&start=0&hilit=geval
Dream of Algodoo as game development engine...
-

Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: Algodoo 1.7.1 memory leak
This error doesn't occur with Mac Os x but does with Linux. 
<- Designed by PhysicsGuy-

xplane80 - Posts: 498
- Joined: Mon Aug 31, 2009 7:28 pm
Re: Algodoo 1.7.1 memory leak
Kilinich wrote:How about geval() object spawning with dynamic properties - will it work fine too ?
viewtopic.php?f=11&t=2547&start=0&hilit=geval
Yes, same bug.
Emil Ernerfeldt, lead developer
- emilk
- Posts: 616
- Joined: Mon Aug 31, 2009 11:01 am
- Location: Umeå, Sweden
Re: Algodoo 1.7.1 memory leak
emilk wrote:Kilinich wrote:How about geval() object spawning with dynamic properties - will it work fine too ?
viewtopic.php?f=11&t=2547&start=0&hilit=geval
Yes, same bug.
woo-hoo!
now I can do some magic
Dream of Algodoo as game development engine...
-

Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
11 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests



