OS X: can't open forms, dataproviders

After working in Developer for a while - say, 2 hours or so - the program stops responding to menu commands (in Designer mode) to switch to a different form or open the DataProviders window. Quitting and restarting Developer restores the correct behavior - for a while. This has been happening 3-4 times a day for at least the last several days.

Servoy Developer
Version R2 2.0 rc13-build 272
Java version 1.4.2-34 (Mac OS X 10.3.3, 1GB ram)

Try to start the developer with the option: -Xmx256M

it reserves than 256MB memory.

Thanks for the suggestion. Is this in the properties file?

No, try to start Developer with the following:

java -Xmx256M -jar servoy_developer.jar

i’ve been experiencing this too.

HJK:
No, try to start Developer with the following:

java -Xmx256M -jar servoy_developer.jar

how the heck did you know to do that??
is that a command to be entered in a terminal window?

That’s indeed a command to be entered in the command line (I wrote a very short applescript to do just that).

The reason we know this? The forum. For some background info on this topic have a look at here http://forum.servoy.com/viewtopic.php?t=1135

BTW this is only needed when you have a growing solution…

HJK:
No, try to start Developer with the following:

java -Xmx256M -jar servoy_developer.jar

I’m not getting anywhere by using this command. What am I doing wrong?

raven:~ ME$ java -Xmx256M -jar /Applications/Servoy/servoy_developer.jar
java.lang.ClassNotFoundException: com.servoy.j2db.develop.J2DBDeveloper
java.lang.ClassNotFoundException: com.servoy.j2db.develop.J2DBDeveloper
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.servoy.j2db.startup.Bootstrap.main(Bootstrap.java:117)
at Servoy.main(Servoy.java:27)

I’m not sure but I think you have to start with this command from within your directory and not outside. This at least works for me without any issue…

on Mac you can also edit you Info.plist file. To do this:
-right click on the Servoy icon in your servoy folder and choose show package contents
-in the contents folder open info.plist
-Under Root->Java there should be an entry name:

VMOptions

(it could be that it doesnt exist if you autoupgraded towards 2.0, in that case create it, casing is important)
by default it has a value of:

-Xmx200M

adjust it to a higher amount if necessary.

Thank you Jan. I’ll give it a try. -pw