This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 157745

Summary: BTD: The same parameters for JUnit tests as it is in projectized.xml
Product: apisupport Reporter: Martin Fousek <marfous>
Component: HarnessAssignee: Jiri Skrivanek <jskrivanek>
Status: RESOLVED WORKSFORME    
Severity: blocker CC: jglick
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Martin Fousek 2009-02-02 06:30:24 UTC
Product Version: NetBeans IDE Dev (Build 090202)

Observed:
I need more heap memory for the running JUnit tests. For now I change one-module.xml, so it has the same parameters as
projectized.xml (for exapmle -Xmx parameter). But Jesse Glick said that it isn't good solution, because this parameters
'-ea -XX:PermSize=32m -XX:MaxPermSize=200m -Xmx256m' are set up for nb.org modules and external modules too. The right
solution should be to set up it only for nb.org modules.
Comment 1 rmichalsky 2009-04-09 15:06:47 UTC
Postponed, patch welcome.
Comment 2 Quality Engineering 2009-11-02 10:56:42 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX
Comment 3 Jesse Glick 2009-11-23 13:46:40 UTC
Still valid as far as I know.
Comment 4 Jaroslav Tulach 2012-11-26 15:52:59 UTC
Is the report about binary test distribution? Then passing to Jirka.
Comment 5 Martin Fousek 2012-11-27 08:26:40 UTC
(In reply to comment #4)
> Is the report about binary test distribution? Then passing to Jirka.

Not sure what exactly you mean by the binary test distribution. Anyway AFAIR low memory made me troubles by running some memory expensive javaEE tests and there wasn't probably a way how to setup more memory to only our nb modules.
Comment 6 Jiri Skrivanek 2012-12-06 10:16:53 UTC
I don't see any problems while running tests. Now in projectized.xml is set

<property name="test.run.args" value="-ea -XX:PermSize=32m -XX:MaxPermSize=200m -Xmx320m"/>

If you need more memory you can redefine test.run.args property when running tests.