servoy developer unresponsive

still having a problem with servoy becoming unresponsive after
a few hours of working.

symptoms include:
can’t select a form from the windows menu (design or runtime)
‘about’ menu item disabled
sometimes the entire menubar disappears with the exception
of the ‘servoy developer’ menu (which i believe is provided by
the OS)

mac os 10.3.2

i’m starting from the terminal with the command:
java -Xmx256M -jar servoy_developer.jar

info displayed from terminal startup:
Servoy R2 2.0.3 build-276 on Mac OS X using Java 1.4.2_03

i just fixed a mem leak, but that one had more effect on the client, not sure if you really see that in the deloper.
But if you look at the mem usage of servoy when it getting unresponsive (through a system window or help->about in servoy)

what do you see then. How much mem is used?

jcompagner:
But if you look at the mem usage of servoy when it getting unresponsive (through a system window or help->about in servoy)

the ‘about’ item was disabled at the time.

jcompagner:
But if you look at the mem usage of servoy when it getting unresponsive (through a system window or help->about in servoy)

the ‘about’ item was disabled at the time.

you could open the about window before that..
and look what the mem does.
Was the about itemt itself disabled? Then that is a apple bug, because we never disable that menu ourself. We did get a report back from apple that the fixed the disabled menus problems that we reported. So hopefully the next release of a jre will fix these things.

jcompagner:
you could open the about window before that..
and look what the mem does.

just checked it now (things are working fine at the moment)
and it shows:

40504 allocated

and (now this is strange)
the second number was about 21000 or so when i first opened
the about box. i went to look at the number again to enter it into
this message, and i noticed that it was constantly increasing.
it went up to about 23000, when i finally closed the about box.

then, i got the spinning beach ball, and servoy quit without any
warning at all.

on the terminal window where i start servoy from, was the message:
“bus error”.

CV 2014.pdf (67.9 KB)

the about dialog will show increasing usage and then dropping back to a lower levelm then slowely increasing again.

What you encounters with a bus error ect. That really looks like bugs of the apple vm. You should try to report as much as possible to apple. Because we really can’t do much about java crashes, some of course are our problems. But if you close the about box and then it crashes? That is just very strange, can you reproduce that?

jcompagner:
you could open the about window before that..
and look what the mem does.
Was the about itemt itself disabled? Then that is a apple bug, because we never disable that menu ourself. We did get a report back from apple that the fixed the disabled menus problems that we reported. So hopefully the next release of a jre will fix these things.

I often have a similar problem (I work under OSX too) since version 1.1: sometimes I get no access to dev toold (such Designer, Security etc). Most of the times, I solve closing and reopening the solution. Every now and then I have to close Developer and restart it.

jcompagner:
You should try to report as much as possible to apple. Because we really can’t do much about java crashes, some of course are our problems.

as a servoy user/developer, i have no way of knowing which issues are
yours and which are apple’s. furthermore, i can’t imaging that apple is
going to be familar enough with servoy to understand what i’m reporting.

if you can clearly explain the details of what you think is a java bug in
apple’s code, it would make a lot more sense for you folks to report
this to apple.

But if you close the about box and then it crashes? That is just very strange, can you reproduce that?

that’s what happened the other day. i haven’t tried to reproduce it, as i’ve
been busy working. i’ll try later today.

if java crashes then most of the time you see some stackdump in youre console. This information should be send over to apple.

I can only come up with 2 things when an javavm crashes, when it is our problem: A StackOverflow and a OutOfMem exception. Still even with those the javavm shouldn’t crash, but the StackOverflow will kill the vm on apple. (on windows this is mostly not the case)

RobertMeyer:
still having a problem with servoy becoming unresponsive after
a few hours of working.

symptoms include:
can’t select a form from the windows menu (design or runtime)
‘about’ menu item disabled
sometimes the entire menubar disappears

I still have that problem to on my Mac, too… :(

please make sure that you use the latest version of the apple vm.

Also open the about dialog from the start and let it open. Then you can see what the mem usage is when it becomes unresponsive.

I do have the latest Java version. I’m almost going to think that my machine isn’t fast enough for Servoy Developer (PowerBook G4/867 768mb RAM). What do you suggest?

but what they are talking about is that servoy runs fine in the beginning but only is getting slower and slower over time (after a few hours)

If servoy is fine in the first few hours bet gets slowed down after that then there could be some other things that is causing that.

I currently have two solutions open using 2 separate occurrences of Developer. One of which is connected to an SQL Server database in Southern California (300 miles away) and the other to a mySQL database in Cincinnatti (3000 miles away).

The Cincinnatti connection is working perfectly but the other is constantly stopping responding. I can view the data when I open the solution but when I go to another form or try to switch to Designer mode it either does nothing or completely clears the screen leaving me nothing to look at + all of the control commands and buttons no longer work. I then have to use Control Alt Delete and close the program down which is when it tells me that the program is not responding. I do have another solution connected to the same database and am getting the same thing with that also. It would seem logical that this is something to do with the database or the install there but how do I troubleshoot it and find out for sure?

I am working on a Win box using XP Home as the OS and using Servoy R2.2.1. Any suggestions will be very gratefully received.

Hi Michael,

Out of curiosity, does the same thing happen if you use either instance of Servoy ?

That is if you open the SoCal solution with either instance of Servoy, does it dtill stop responding ?

Cheers
Harry

it can be that the connection is not so good
or that that sql server is locking things up somehow.

What happens if you use a mysql db on that location and test that one?

I think Johann was right in that SQL Server was loc,ing up somehow. I went and found a more recent jdbc driver than the one I had and it now seems to be working correctly so I’ll keep my fingers crossed.

Thanks, Harry and Johann