Developer gets slow and slower until it hangs

Hi Abrahim,

Can you send me a sample solution that reproduces the problem?

For readers info:
We examined the solution. Some (very heavy) forms were eating up memory when browsing in designer mode.
Apart form that, we think we also might gain some performance in the future by optimizing Servoy a bit more.

In this particular case, things seemed to go much smoother by allocating more memory to Servoy developer.

  1. Right click on servoy_developer.bat located in Servoy main dir.
  2. choose edit and add following part: -Xmx256M
    (this will allow servoy to use up to 256Mb ram)
    This should be enough, but you can use more if you want to,
    depending on amount of Ram in your machine.
    Don’t allocate too much, or your machine might start swapping.

Example servoy_developer.bat:

@echo off
java -Xmx256M -jar servoy_developer.jar
rem c:\jdk1.3.1\bin\java -
classpath .;lib\activation.jar…

Hi Maarten,

Has there been any optimization in memory part for the servoy developer?

Thanks!

not particularly, do you have problems with developer these days? (when you assign the suggested memory as found in the manual)

I have assigned the memory suggested by Maarten and the developer seems stable. I was using the standard shortcut to open the developer previously.

All I need to do now is to buy more ram for my computer so that applications does not slow down when using servoy developer.