Android app development.

2019-12-16 Thread Owen Thomas
Hello. I have just now have a need to further develop my Java SE application (it has been developed for more than 11.5 years in Netbeans) in an environment that would see me deploy this application as an app on an Android phone. I don't know to do this (either with Netbeans or without). Can anyon

Re: Increase memory for unit tests.

2019-12-16 Thread Andy Turner
Thanks Neil, John. I changed some settings along the lines Neil suggested: adding "exec.args=-Xmx1024m" as a new line to the "set properties" in both "Debug test" and "Test file" actions. I can see this getting used when the tests start (when both running and debugging), so I think that has done

Re: Increase memory for unit tests.

2019-12-16 Thread Neil C Smith
On Mon, 16 Dec 2019 at 13:16, Neil C Smith wrote: > At a guess you want to customize the project properties' Actions / > Test File with exec.args=-Xmx1024m - not tested but am using that to > pass other test args. Sorry, make that argLine= ! :-\ Best wishes, Neil -

Re: Increase memory for unit tests.

2019-12-16 Thread Neil C Smith
On Mon, 16 Dec 2019 at 13:11, Andy Turner wrote: > Thanks, yes, I've tried that setting already with partial success. With that > setting, the test passes when I run a clean and build. The test however fails > when I try to run that single test file (which I want to run through the > debugger).

Re: Increase memory for unit tests.

2019-12-16 Thread Andy Turner
Hi John, Thanks, yes, I've tried that setting already with partial success. With that setting, the test passes when I run a clean and build. The test however fails when I try to run that single test file (which I want to run through the debugger).. Thanks, Andy ___

Re: Increase memory for unit tests.

2019-12-16 Thread John Mc
Hi, If your using maven, have you tried updating the surefire plugin to include an Xmx setting? For example: org.apache.maven.plugins maven-surefire-plugin -Xmx1024m Regards John On Mon, 16 Dec 2019 at 09:06, Andy T

Increase memory for unit tests.

2019-12-16 Thread Andy Turner
Hi, I am trying to work out a good way to increase the available memory for junit tests in order to debug some test files in the IDE. I am using JUnit 5 and Maven. Do you have any advice? Thanks for Netbeans. I am a long term Netbeans user and have just re-subscribed to the user list again ha