java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode)
On a redhat 9 machine, I can get a maximum of 612 threads in tomcat when
I start it with -Xmx1500M. Without a -Xmx param I get 3448 threads.
ng
> to top it gives up way before it can make a serious impact on the
> available swap space?
> Is there some command line argument I have to give to the java
> runtime, I wonder?
Yes, there is. "-mx" sets the maximum heap size. This
is 16MB or thereabouts by default.
> My program run well in BLKDOWN Jdk1.2.2. So, I think it is not related to my
> program
> such as dead lock. Of course, I focused on the dead lock for several days.
That reminds me; I have had dead-lock problems with IBM's JDK 1.3 too, in an
IRC implementation I have written/am writing. For hist
Hi, Everyone,
When I add shutDownHook to the Runtime,
the system print out "an irrecoverable stack overflow has occurred".
My program run under SUN JVM(current version).
What's mean?
Thanks
yangyuexiang
--
To UNSUBSCRIBE, em
Hi, Everybody:
The problem is actually related to the IBM JVM (At least I think so).
Previousely, I used JVM which was download about June. This JVM had fatel
Garbage collection, IBM already listed in the fixing of August.
Actually, I download Java(TM) 2 Runtime Environment, Standard Edition (bu
> > HotSpot is a Sun thing; there is no "HotSpot" in IBM's JVM.
>
> To be pandantic, HotSpot is a java Just-in-time compiler, aka JIT.
> IBM's JVM also has a JIT, it just has a different name, and it's
> on by default. IBM requires an -option at runtime to disable it.
Yes I know, HotSpot *is* a
ore with SEGV errors. Consistantly.
When I posted a polite query about it on their newsgroup, they canceled
my post. :p
>
> > Who can give me suggestions to control the heap size of JVM?
> > My system is Redhat 6.2.
>
> -Xmx and -Xms. "java -X" for more info.
--
Jo
ctly how does it "crash"?
> Who can give me suggestions to control the heap size of JVM?
> My system is Redhat 6.2.
-Xmx and -Xms. "java -X" for more info.
--
/ Peter Schuller, InfiDyne Technologies HB
PGP userID: 0x5584BD98 or 'Peter Schuller <[EMAIL PROTECTED]&g
xpectedly and the JVM hangs finally.
> It seems there is some memory leak in the HotSpot of IBM JVM.
>
> Who can give me suggestions to control the heap size of JVM?
> My system is Redhat 6.2.
>
> Thanks very much!
>
> yangyuexiang
>
I consider the IBM JVM for linux
leak in the HotSpot of IBM JVM.
Who can give me suggestions to control the heap size of JVM?
My system is Redhat 6.2.
Thanks very much!
yangyuexiang
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubs
yangyuex wrote:
| How to restrict the initial/Max heap size when the Java VM is started?
java -Xmx18m your.app
^^^ Your heapsize
--
Jo Uthus| e-mail: [EMAIL PROTECTED] (private)
Software Engineer | e-mail: [EMAIL PROTECTED] (work
Hi,
How to restrict the initial/Max heap size when the Java VM is started?
Thanks very much!
yang
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
alias java="java -Xmx555"
ALPESH KOTHARI wrote:
> Hello,
>
> I am using Java2 on RH6.0. I have developed an GUI
> application using Java. Now it runs out of memory at
> some places. So I am increasing heap size with the
> help of -Xmx and it works fine. But, I have t
Hello,
I am using Java2 on RH6.0. I have developed an GUI
application using Java. Now it runs out of memory at
some places. So I am increasing heap size with the
help of -Xmx and it works fine. But, I have to do this
every time I run application. Is it possible someway
to permenantly change the
I don't know if this has been mentioned but we developed a multi-threaded
app and had OutOfMemoryError problems similiar to yours. The culprit was
the 1.1.5 jdk (had thread memory leak problems). After upgrading the jdk
our problems went away.
Robert
Mehrdad Jahansoozi wrote:
> This is usual
This is usual in multithreaded programs
There are two solutions to these sorts of problems
1) Limit the number of threads to 5 at any time.
2) Write the data on a temporary files and read it later.
Which one is a mater of time ( speed ).
If you are reading over a network, pipe the data directly
> I am running into a problem where my vm grows too big, to fast (faster than the
> consumers of the collected data can consume it), resulting in a
> OutOfMemoryError in all running threads. I changed the vm to run with -mx50m
> and it ran for much longer (about 5 days) then it too did the same t
ay to get the maximum heap size from inside java. I though that
> Runtime.totalMemory() would return that, but it does not. I current am running
> one vm with -mx50m and totalMemory() is returning 5242872, which is about 5mb
> not 50mb... unless I am totally crazy.
>
> I am running into
Is there any way to get the maximum heap size from inside java. I though that
Runtime.totalMemory() would return that, but it does not. I current am running
one vm with -mx50m and totalMemory() is returning 5242872, which is about 5mb
not 50mb... unless I am totally crazy.
I am running into a
19 matches
Mail list logo