You are right :) I mean as attach there is the code i am using. I didn't know how the server is configured, i know only jre is java 1.6 64b and OS Ubuntu 10.1
My question is should be i am using mina in a wrong way that starting a simple policyServer eat so much memory ? Thanks for your patients Francesco 2011/2/3 Emmanuel Lecharny <[email protected]> > On 2/3/11 10:54 AM, antares wrote: > >> Hi, >> I am using mina 2.0.0 fo ra simple policy server. >> It starts a server acceptor but it takes a lot of memory >> before: >> >> total used free shared buffers cached >> Mem: 924 287 636 0 0 0 >> -/+ buffers/cache: 287 636 >> Swap: 0 0 0 >> >> after: >> root@ve:/var/www/java/PolicyServer# free -m >> total used free shared buffers cached >> Mem: 924 633 290 0 0 0 >> -/+ buffers/cache: 633 290 >> Swap: 0 0 0 >> >> about 420mb so i cant start the other server because i get this error : >> >> Error occurred during initialization of VM >> Could not reserve enough space for object heap >> Could not create the Java virtual machine. >> >> please help >> > > Sure ! Can you just provide some valuable piece of information about what > is your problem ? That your server eats a lot of memory is just a fact, not > a problem... > > -- > Regards, > Cordialement, > Emmanuel Lécharny > www.iktek.com > > -- *Game Entertainment Software Developer* --------------------------------------------------- http://www.flexpoker.it http://www.flashpoker.it http://www.virtuasport.it http://www.virtuagames.it http://www.superflashgames.it ----------------------------------------------------
