hi Rodrigo,

 The amount of continuous heap memory that is available to Java depends on
what software you have loaded on your
OS. What does your Task Manager indicate ? How about Process Explorer from
Microsoft(http://www.sysinternals.com/Utilities/ProcessExplorer.html) --
this tool gives you a more accurate reading of how much memory is being used
by the java process.

As I said earlier in my post, if you're using WIN2K, XP or 2003 server, then
using the /3GB switch in your BOOT.INI enables your programs to use a
maximum of  3 GB (if your system has 4 GB ram).

BR,
~A

On 9/6/06, Asensio, Rodrigo <[EMAIL PROTECTED]> wrote:

Don't ask me why, but I tried in diferent servers putting 1440 MB, 1048
MB, 1076 MB and it works in one server and not in the other (all with
the same hard and soft).
The msg is . Cannot allocate that space in heap.

-----Original Message-----
From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 06, 2006 10:26 AM
To: Tomcat Users List
Subject: RE: max memory..

No, right now I have set the memory to 1024 mb. getTotalMemory is
returning that same value

-----Original Message-----
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 06, 2006 9:27 AM
To: Tomcat Users List
Subject: Re: max memory..

Runtime.getTotalMemory actually returns 2Gb?

On 9/6/06, Asensio, Rodrigo <[EMAIL PROTECTED]> wrote:
> I don't agree
> Our tomcat was working with 1440 mb as initial and max memory without
> problem.
>
> -----Original Message-----
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 06, 2006 9:06 AM
> To: Tomcat Users List
> Subject: Re: max memory..
>
> On a 32bit OS you will have no chance to get more than 1.2Gb.
> At least its what we have tested.
>
> leon
>
> On 9/6/06, Asensio, Rodrigo <[EMAIL PROTECTED]> wrote:
> > Im here again.
> > It's a 32 bits OS
> >
> > Definely GC gonna take longer if has more to collect.
> >
> >
> >
> > -----Original Message-----
> > From: anjan bacchu [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, September 05, 2006 6:20 PM
> > To: Tomcat Users List
> > Subject: Re: max memory..
> >
> > can I move to 2048mb without any problem ? SURE, YES
> >
> > 4 GB RAM -- did you tune the BOOT.INI setting to use the /3GB
> > setting so that the user process address space goes to 3 GB(from 2
> > GB default)
> ?
> >
> > related things for performance :
> > are you using the APR extension ?
> >
> > how about tweaking the server.xml threads, max settings ?
> >
> > does your server use virtual memory ? I have seen better memory when

> > no virtual memory is used.
> >
> > BR,
> > ~A
> >
> >
> >
> > On 9/5/06, Asensio, Rodrigo <[EMAIL PROTECTED]> wrote:
> > >
> > > Hello guys
> > >
> > > tomcat 5517
> > > java 1508
> > > win 2003 server
> > >
> > > I have available 4 gb of ram memory into the server. My tomcat is
> > > running with 1024 mb right now.
> > > Before start to optimize my functions :D , can I move to 2048mb
> > > without any problem ?
> > > memory settings has always to be pow of 2 ?
> > >
> > > thanks
> > > Rodrigo
> > >
> > > ------------------------------------------------------------------
> > > -
> > > Rodrigo Asensio
> > > Fuel Management Services
> > > Gilbarco Veeder Root
> > > phone: +1 336 547 5023
> > > email: [EMAIL PROTECTED]
> > > <mailto:[EMAIL PROTECTED]>
> > >
> > >
> > >
> > > This message (including any attachments) contains confidential
> > > and/or proprietary information intended only for the addressee.
> > > Any unauthorized disclosure, copying, distribution or reliance on
> > > the contents of this information is strictly prohibited and may
> > > constitute
> >
> > > a violation of law.  If you are not the intended recipient, please

> > > notify the sender immediately by responding to this e-mail, and
> > > delete
> >
> > > the message from your system.  If you have any questions about
> > > this e-mail please notify the sender immediately.
> > >
> >
> >
> >
> > --
> > BR,
> > Anjan Bacchu
> > Summit Information Systems
> >
> > This message (including any attachments) contains confidential
> > and/or proprietary information intended only for the addressee.
> > Any unauthorized disclosure, copying, distribution or reliance on
> > the contents of this information is strictly prohibited and may
> > constitute
>
> > a violation of law.  If you are not the intended recipient, please
> > notify the sender immediately by responding to this e-mail, and
> > delete
>
> > the message from your system.  If you have any questions about this
> > e-mail please notify the sender immediately.
> >
> > --------------------------------------------------------------------
> > - To start a new topic, e-mail: users@tomcat.apache.org To
> > unsubscribe,
> > e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
> e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> This message (including any attachments) contains confidential and/or
> proprietary information intended only for the addressee.
> Any unauthorized disclosure, copying, distribution or reliance on the
> contents of this information is strictly prohibited and may constitute

> a violation of law.  If you are not the intended recipient, please
> notify the sender immediately by responding to this e-mail, and delete

> the message from your system.  If you have any questions about this
> e-mail please notify the sender immediately.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
> e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


This message (including any attachments) contains confidential and/or
proprietary information intended only for the addressee.
Any unauthorized disclosure, copying, distribution or reliance on the
contents of this information is strictly prohibited and may constitute a
violation of law.  If you are not the intended recipient, please notify
the sender immediately by responding to this e-mail, and delete the
message from your system.  If you have any questions about this e-mail
please notify the sender immediately.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


This message (including any attachments) contains confidential
and/or proprietary information intended only for the addressee.
Any unauthorized disclosure, copying, distribution or reliance on
the contents of this information is strictly prohibited and may
constitute a violation of law.  If you are not the intended
recipient, please notify the sender immediately by responding to
this e-mail, and delete the message from your system.  If you
have any questions about this e-mail please notify the sender
immediately.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
BR,
Anjan Bacchu
Summit Information Systems

Reply via email to