Re: We have GC problem



Cyrus wrote:
mchunglin@xxxxxxxxx wrote:
We have probem with this one our java biometrics server. Server is
doing too much GCs. The JProbe analyzer says class Bio_lMx315 and
Bio_lMx317 are big problem for us. These class is mostly list of double
like this:
[....]
Please no suggestion about "tweak" -xms params. WE wasting so much time
with this and server will always have problems.

If you sure it is the problem of creating/freeing of Bio_IMx??? too
much, object pooling can help u. The following is a link about it.
http://www.javaworld.com/jw-06-1998/jw-06-object-pool.html

However, you need to make the following changes on you current code:
1. change "new Bio_IMx???()" to "objectPool.CheckOut()".
2. when a Bio_IMx??? obj is no longer use, call
"objectPool.CheckIn(bioObj)".

Well, i suppose this article dates back to 1998, with modern JVMs object pooling is generally considered to *lose* performance in most cases! See http://www-128.ibm.com/developerworks/java/library/j-jtp01274.html for a good explanation of this topic, maybe this also gives some insights on how to fix your server :-)

Greetings
Andreas


.



Relevant Pages

  • Re: global catalog on two DCs
    ... > new DC a global catalog along w/ the orignal DC? ... Yes - you are able to configure as many GCs in your domain as many DCs ... additional replication or database size. ... Site, the Server, and select the NTDS-Setting Properties. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Folder Replication
    ... Thanks Ace for your response. ... I have been monitoring which GCs are recognized ... but there is no FRS replication entries in the event ... > drill down to the server, select properties, select the Directory Access ...
    (microsoft.public.windows.server.active_directory)
  • Re: Error while Transferring FSMO Roles
    ... Are all of the DCs in the forest GCs? ... If so, it would be safe to transfer the Infrastructure Master role to a GC. ... The problem is introduced when you have a multidomain environment where all DCs are not GCs. ... Before the cutover and demotion of the old server we wanted to transfer the ...
    (microsoft.public.windows.server.active_directory)
  • Re: Der Alte Exchange Lebt !
    ... Franz Herbiger wrote: ... > Der neue server benutzt auf jeden Fall die GCs in der neuen Domäne. ... Oder den alten Server "ausschalten" und einen DNS-Alias des alten namens auf ...
    (microsoft.public.de.german.exchange2000.general)
  • Re: Domain Controller Redundancy
    ... domains and *not* all DCs are GCs. ... >> server) and one Windows 2003 server). ... Do I have to configure the Windows ...
    (microsoft.public.backoffice.smallbiz2000)

Loading