sluggishness

i’ve noticed, since early-on, that quite often, servoy seems to just stop responding
to mouse clicks & keyboard input for as much as 3 to 5 seconds at a
time.

this is becoming more & more disruptive, as i often find myself dbl-clicking
on an interface item (like opening a form in the method editor for example),
noticing after a few seconds that it didn’t open, double-clicking in a second
time, then suddenly all the clicks are processed, and the item quickly
opens, (showing me the “controller, elements, dataproviders, relations”
items) and closes again!

or many times i’m moving fields on a form; i’m moving slowly, waiting for the
selected fields to jump to the next point on the grid, but they’re not moving
yet, so i keep slowly dragging the mouse; when suddenly, the fields all
jump to follow the mouse movement, and they’ve gone completely past
where i was trying to put them - all because servoy wasn’t responding
to my dragging.

i started keeping the activity monitor open where i can see it on the screen,
and every time servoy is ‘freezing’ in this manner, it’s at the top of the
list of cpu users.

in fact, while i’m sitting here typing this into a web browser, servoy
often shows up on the top of the cpu list, and i’m not even working
with it…

Hi Robert,

What platform are you on? What version of Servoy?

Go to the “About” in Servoy - what is the maximum memory setting there?

Bob Cusick

bcusick:
What platform are you on? What version of Servoy?

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

thanks in advance for any help on this.

What kind of Hardware are you using?

Bob

blue & white g4, 800mhz., 512mb ram

Robert,

That’s VERY strange. I’ve never heard of that particular problem. Could it be you have some other deamons that are sucking up the processor cycles?

Bob

bcusick:
Could it be you have some other deamons that are sucking up the processor cycles?

the only thing i can thing of is, i’m running os-x server on this
machine to handle my e-mail & web site, but there’s virtually NO
activity at all; maybe i get one or two e-mails a day from friends,
and that’s it.

according to the activity monitor, the only thing eating cpu time
is servoy…

RobertMeyer:
i’ve noticed, since early-on, that quite often, servoy seems to just stop responding
to mouse clicks & keyboard input for as much as 3 to 5 seconds at a
time.

I’m experienceing this when stepping through the records in Browse mode. When I can click on the find next button the firstt three or four records come up with pretty much instantaneous results but then there’ll be a pause of a few seconds before the fifth and sixth come up. The cycle repeats every 3-4 records. The problem occurs whether I type ahead or wait the delay out before clicking. It feels like some internal cache has to be filled up before the records can be displayed.

this is pretty strange because records are loaded in chunks of 20. So 3 or 4 is very strange. Are you using blobs/media in youre records?
Where does the database resides. On the same computer or network or further away?

jcompagner:
this is pretty strange because records are loaded in chunks of 20. So 3 or 4 is very strange. Are you using blobs/media in youre records?
Where does the database resides. On the same computer or network or further away?

I’m running the database on the same machine (OSX 10.3.4 Graphite G4 500MHz 500Mb) at the moment. No BOBS/media. A beginner’s database really - 4 tables of which the biggest has 320 records.

I’m sorry to say that I am experiencing similar difficulties. Within just the last 30 minutes Servoy has

  • greyed out the Designer menu item, thereby not allowing me to go back into Designer mode

  • given me a Methods window that won’t allow me to type any text in, or delete any text

  • the Methods window won’t allow me to even select a word of text; either an entire line gets selcted, or nothing gets selected.

  • switching to Methods has given me the spinning beach ball, and then returns me to the state just described.

I find myself quitting and relaunching Servoy 2-3 times a day on average in order to regain a stable work enviroment.

Mac OS X 10.3.4, G5, 2G ram, Servoy Dev. 2.03. in the infoPlist file I have adjusted the VMOptions to -Xmx300M.

if you have that. Can you see what memory servoy is using in 2 places:

what the taskmanager is saying (so the os itself)
and what the about dialog of servoy is saying?

Design menuitem graying out i have heard more. But i never have been able to reproduce that on my machine… :(

jcompagner:
if you have that. Can you see what memory servoy is using in 2 places:

what the taskmanager is saying (so the os itself)
and what the about dialog of servoy is saying?

Design menuitem graying out i have heard more. But i never have been able to reproduce that on my machine… :(

I certainly will record these the next time this happens. In the meantime, for reasons unrelated to this thread, I have moved from a local Firebird repository to a remote MySQL repository. One day of work from a different machine (a G4) yielded no problems. Now I’m back on the G5, and I can say that at least so far, responsiveness is already better for things like text properties. So my ongoing theory is that the repository db may have been at least part of the cause. I will keep you posted if these issues continue or resurface. -Peter

jcompagner:
if you have that. Can you see what memory servoy is using in 2 places:

what the taskmanager is saying (so the os itself)
and what the about dialog of servoy is saying?

There are times, such as right now, when I cannot even access the About Dialog in Servoy. Activity Monitor in OS X shows memory of about 157 MB. CPU use fluctuates, and has gone above 40% and even 119%!

Just now I was able to access About and the memory use range is something like 280 to 320 MB.

One other operation that is distressingly slow is the ValueList dialog box, which takes eons to open. Again, this is a dual 2.5 G5 running Mac OS X 10.3.4. I suppose that some if thgis is Apple’s fault, but I urge Servoy to do what it can to help get this performance issue resolved. It really cuts into productivity. Thank you. -Pw

pweil:
I suppose that some if thgis is Apple’s fault, but I urge Servoy to do what it can to help get this performance issue resolved. It really cuts into productivity

i have been complaining about this very issue since the
beginning of the servoy project i’m working on. it seriously
cuts productivity for me as well.