Re: Strange performance problem



DM <diemme29@xxxxxxxxx> wrote:
Mich ha scritto:

"DM" <diemme29@xxxxxxxxx> wrote in message
news:1164722940.682090.162390@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I'm sorry... I wrote in Italian...

I've a strange performance problem.
I've a server producing data and a client consuming it (display on
tables, make formula, charts, and so on...).
When the incoming data become too much (I thing about 70 in a
second) the client stop working well... it becomes like freezed...
The strange think is the CPU is working at 30%... no more... so the
problem seems not to be in CPU usage...
What can I do?


Did you check how much RAM was being used?

Yes... about 70MB... stable... I've a lot of free ram...

It sounds as if you are hitting the JVM default max mem usage (64MB IIRC). So it is doing GC all the time to try to free up old mem. This is inefficient. Rather give it more mem. Try option -Xmx to set a higher value, for example -Xmx512m for 512MB of memory.

Kind regards

robert

.



Relevant Pages

  • Re: Strange performance problem
    ... I've a strange performance problem. ... I've a server producing data and a client consuming it (display on ... The strange think is the CPU is working at 30%... ...
    (comp.lang.java.programmer)
  • Strange performance problem
    ... I've a strange performance problem. ... I've a server producing data and a client consuming it (display on ... The strange think is the CPU is working at 30%... ...
    (comp.lang.java.programmer)
  • Re: Strange performance problem
    ... I've a strange performance problem. ... I've a server producing data and a client consuming it (display on ... The strange think is the CPU is working at 30%... ...
    (comp.lang.java.programmer)