Page 1 of 1

Problems editing i18n in OSX

PostPosted: Tue Feb 21, 2012 8:02 am
by adelo
After update Servoy to version 6.05 I have problems to editing the i18n file in OSX.

I click right button in I18n files and select the option "Edit i18n messages" then Servoy Developer is blocked and I have to kill the process.

Anyone else has happened or is this problem with my computer?

Thanks in advance.

Servoy 6.0.5 - build 1230
OSX 10.7.2
Postgresql 8.4

Re: Problems editing i18n in OSX

PostPosted: Tue Feb 21, 2012 10:42 am
by Andrei Costescu
Is this always reproducible?
If so: when it hangs please go to the admin page, click on "Dump the current stack/systeminfo" link, then create a bug report and attach that stack dump to it.

Re: Problems editing i18n in OSX

PostPosted: Tue Feb 21, 2012 11:59 am
by tgs
On the beginning with Servoy 6 sometimes I had the problem too. Servoy Developer was hanging (not more responding) if I tried to open the i18n editor.
Temporary a restart of Servoy Developer helped, but since I have increased the memory settings in the servoy.ini file of the .../developer/servoy.app, I had no hanging anymore.
Code: Select all
--launcher.XXMaxPermSize
256m
-vmargs
-Xms512m
-Xmx1536m
-XX:MaxPermSize=1536M

!Think about your build in RAM! My machine has 8 GB!

Currently the i18n editor opens sometimes with displaying only the key list without Filter, Language/country, Key, Reference text and Locale text fields. After a restart of Servoy Dev. it works.

Servoy 6.0.5
Mac OSX 10.7.3

Regards

Re: Problems editing i18n in OSX

PostPosted: Tue Feb 21, 2012 12:43 pm
by Adelo Herrero
Tanks Thomas:

I will make those changes.

P.S.
Also my computer has 8 gb. Perhaps that is the reason :-)

Re: Problems editing i18n in OSX

PostPosted: Tue Feb 21, 2012 3:59 pm
by Robert Huber
I still have occasionally a hanger when clicking on the i18n edit button, even with the same values in the servoy.ini file.

Regards,

Re: Problems editing i18n in OSX

PostPosted: Wed Feb 22, 2012 7:10 am
by adelo
Well ... lamentably, I have the same result.

Any other idea?

Thanks.

Re: Problems editing i18n in OSX

PostPosted: Wed Feb 22, 2012 10:30 am
by mboegem
Which java version are we talking?
Bigger files in eclipse seem to be the problem using java 1.6.0_29.

Downgrade java to 1.6.0_26 and it'll work without a problem.

Re: Problems editing i18n in OSX

PostPosted: Wed Feb 22, 2012 10:43 pm
by adelo
Hi all:

I updated osx to version 10.7.3 and Servoy developer works fine; with the modifications indicating by @tgs

Thanks to all.

Re: Problems editing i18n in OSX

PostPosted: Fri Feb 24, 2012 6:24 pm
by jcompagner
-XX:MaxPermSize=1536M

that is a bit overkill, you can keep that one to 256MB just fine, that should be more then enough, it is the same thing then:
--launcher.XXMaxPermSize
256m

those 2 point to the same thing.

Re: Problems editing i18n in OSX

PostPosted: Fri Feb 24, 2012 7:29 pm
by adelo
it does not work

Re: Problems editing i18n in OSX

PostPosted: Fri Feb 24, 2012 7:31 pm
by Robert Huber
Which wins when the values are different?

jcompagner wrote:-XX:MaxPermSize=1536M

that is a bit overkill, you can keep that one to 256MB just fine, that should be more then enough, it is the same thing then:
--launcher.XXMaxPermSize
256m

those 2 point to the same thing.

Re: Problems editing i18n in OSX

PostPosted: Fri Feb 24, 2012 8:47 pm
by tgs
jcompagner wrote:-XX:MaxPermSize=1536M

that is a bit overkill, you can keep that one to 256MB just fine, that should be more then enough, it is the same thing then:
--launcher.XXMaxPermSize
256m

those 2 point to the same thing.


I tried -XX:MaxPermSize settings lower than the 1536M and had always a hanging Servoy Dev application while opening the i18N files editor!
For me only the settings of the servoy.ini file, posted in my topic above, is working on Mac. On Windows my settings are different. If I set there the -XX:MaxPermSize to 1536M the Servoy Dev wouldn't open and I must degrease the memory!? But I don't have any trouble with the i18N files editor on Win 7.

Regards

Re: Problems editing i18n in OSX

PostPosted: Sat Feb 25, 2012 7:24 pm
by adelo
As a curiosity I will say that, once it stops working, do not get it working again although restart.