Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] JUnit tests cause Out-of-memory errors

Hi,

for each version of GDB, we have over 200 JUnit tests for DSF-GDB.
Each test launches a new debug session.
The problem is that after about 150, Eclipse goes nuts and everything
starts to fail.  It must be because it ran out of memory.
Originally I thought there was a leak in the tests, but I was told
that it is possible that it is leaks in the platform itself, which
does not cause a problem normally, because nobody does 150 different
debug launches in a row.

So, I've been running the JUnit tests until they start failing, and
then I run the remainder set in another instance. As you can guess, 
this is really annoying and makes running the tests quite tedious.

Does anyone have any tricks or suggestions to address this problem?

Thanks in advance.

Marc


Back to the top