shridharmishra4 / europa-pso

Automatically exported from code.google.com/p/europa-pso
0 stars 1 forks source link

Memory leak in PSEngine::executeScript(...) #165

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Take the example Main.cc from 
https://code.google.com/p/europa-pso/source/browse/PLASMA/trunk/bin/.makeproject
/Template-Main.cc

2. Add a loop, which calls solve(plannerConfig, nddlFile,0,100,1000) cylic (see 
attached ModifiedMain.cc)

3. Watch the memory usage of the program.

What is the expected output? What do you see instead?

All objects, which are dynamically instantiated, are correctly deleted. 
(especially the engine and the solver), but the memory is not completely freed. 
That leads to a constant increase of the used memory.

What version of the product are you using? On what operating system?
I use EUROPA 2.6, Ubuntu 14.04 and gcc 4.8.2

Original issue reported on code.google.com by casimus....@gmail.com on 19 Mar 2015 at 7:33

Attachments: