[prev in list] [next in list] [prev in thread] [next in thread]
List: kvm-interest
Subject: Re: JVM Memory problem on Windows Mobile 2003
From: M Damon Hill <damon () IFWORLD ! COM>
Date: 2004-09-30 13:43:37
[Download RAW message or body]
Thank you for the reply Ken.
However, we are actually using the Ewe VM, not the J9 VM.
We were trying to see with the J9 test if there was a problem with the Ewe
VM or if it was an issue across multiple VM on the OS.
We have tried those specific measures you mention here with the -X options.
None appear to make any difference.
Thank you again for the comment and I apologize for not being more specific
in my initial post.
Thanks,
Damon
_____
From: A mailing list for KVM discussion [mailto:KVM-INTEREST@JAVA.SUN.COM]
On Behalf Of Ken Walker
Sent: Thursday, September 30, 2004 8:40 AM
To: KVM-INTEREST@JAVA.SUN.COM
Subject: Re: JVM Memory problem on Windows Mobile 2003
If you run j9.exe on the Windows Mobile 2003 device (or Windows) the console
will spit out a lit of options. Many of these (-X) have to do with memory
sizings. These you can play around with to see impacts.
Further, it would be more beneficial to post J9 specific problems/questions
to:
news://news.software.ibm.com/ibm.software.websphere.studio.device-developer
/**
@author Ken Walker, J9 Embedded Java Class Library Manager, IBM Ottawa Lab
@see http://www.can.ibm.com/ottawalab/
@return ken_walker@ca.ibm.com
*/
Damon Hill <damon@IFWORLD.COM>
Sent by: A mailing list for KVM discussion <KVM-INTEREST@JAVA.SUN.COM>
09/30/2004 09:23 AM
Please respond to
A mailing list for KVM discussion
To
KVM-INTEREST@JAVA.SUN.COM
cc
Subject
JVM Memory problem on Windows Mobile 2003
Good day.
I am looking, hopefully, for a little insight into a problem we are
experiencing with a production app running in Windows Mobile 2003.
The environment is as follows:
Hardware:
Intemec 760C Handheld
Siemens Cellular Radio
Bluetooth
128 MB RAM
256 MB SD
Software:
Windows Mobile 2003 Pocket PC
Ewe Java Library/VM
J9 JVM
We have created a Java application that runs on the handheld and does
mostly data collection.
The application then sends the data via Cellular radio across AT&T to a
central server for processing using XML-RPC calls.
The problem we are running in to is a limit on the amount of memory
that
can be allocated when running a Java VM on the particular handheld.
When we try to allocate more than 8 MB of memory the handheld throws an
OutOfMemory error, although there is MORE than sufficient memory available.
This 8 MB limit was reached when running under the Ewe VM.
Therefore we tested the application under the J9 VM and it had a limit
of 4MB before it threw the OOM error.
We then wrote a little C++ application that ran on the handheld allocating
memory until it hit a limit.
The C++ app was able to allocate 23MB before it crashed.
Neither of these was anywhere near the supposed 32MB of memory allocated for
processes on the Windows Mobile OS.
My question is whether anyone has seen this behavior before?
If so, how did you remedy it?
If not, do you know of any possible limitations that might be in the
Manufacturer specific version of the OS that could cause this behavior?
Any kind of response on this matter would be greatly appreciated.
Thank you for the time,
Damon
==========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
==========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
==========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=916584113-30092004><FONT face=Georgia
color=#0000ff>Thank you for the reply Ken.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=916584113-30092004><FONT face=Georgia
color=#0000ff>However, we are actually using the Ewe VM, not the J9
VM.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=916584113-30092004><FONT face=Georgia
color=#0000ff>We were trying to see with the J9 test if there was a problem with
the Ewe VM or if it was an issue across multiple VM on the
OS.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=916584113-30092004><FONT face=Georgia
color=#0000ff>We have tried those specific measures you mention here with the -X
options. None appear to make any difference.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=916584113-30092004><FONT face=Georgia
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=916584113-30092004><FONT face=Georgia
color=#0000ff>Thank you again for the comment and I apologize for not being more
specific in my initial post.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=916584113-30092004><FONT face=Georgia
color=#0000ff></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=916584113-30092004><FONT face=Georgia
color=#0000ff>Thanks,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=916584113-30092004><FONT face=Georgia
color=#0000ff>Damon</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> A mailing list for KVM discussion
[mailto:KVM-INTEREST@JAVA.SUN.COM] <B>On Behalf Of </B>Ken
Walker<BR><B>Sent:</B> Thursday, September 30, 2004 8:40 AM<BR><B>To:</B>
KVM-INTEREST@JAVA.SUN.COM<BR><B>Subject:</B> Re: JVM Memory problem on Windows
Mobile 2003<BR></FONT><BR></DIV>
<DIV></DIV><BR><FONT face=sans-serif size=2>If you run j9.exe on the Windows
Mobile 2003 device (or Windows) the console will spit out a lit of options. Many
of these (-X) have to do with memory sizings. These you can play around
with to see impacts.</FONT> <BR><BR><FONT face=sans-serif size=2>Further, it
would be more beneficial to post J9 specific problems/questions to:</FONT>
<BR><BR><FONT face=sans-serif size=2>
news://news.software.ibm.com/ibm.software.websphere.studio.device-developer</FONT>
<BR><BR><FONT face=sans-serif size=2>/**<BR>@author Ken Walker, J9 Embedded Java
Class Library Manager, IBM Ottawa Lab<BR>@see
http://www.can.ibm.com/ottawalab/<BR>@return ken_walker@ca.ibm.com<BR>*/</FONT>
<BR><BR><BR>
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD width="40%"><FONT face=sans-serif size=1><B>Damon Hill
<damon@IFWORLD.COM></B> </FONT><BR><FONT face=sans-serif size=1>Sent
by: A mailing list for KVM discussion
<KVM-INTEREST@JAVA.SUN.COM></FONT>
<P><FONT face=sans-serif size=1>09/30/2004 09:23 AM</FONT>
<TABLE border=1>
<TBODY>
<TR vAlign=top>
<TD bgColor=white>
<DIV align=center><FONT face=sans-serif size=1>Please respond
to<BR>A mailing list for KVM
discussion</FONT></DIV></TR></TBODY></TABLE><BR></P>
<TD width="59%">
<TABLE width="100%">
<TBODY>
<TR>
<TD>
<DIV align=right><FONT face=sans-serif size=1>To</FONT></DIV>
<TD vAlign=top><FONT face=sans-serif
size=1>KVM-INTEREST@JAVA.SUN.COM</FONT>
<TR>
<TD>
<DIV align=right><FONT face=sans-serif size=1>cc</FONT></DIV>
<TD vAlign=top>
<TR>
<TD>
<DIV align=right><FONT face=sans-serif size=1>Subject</FONT></DIV>
<TD vAlign=top><FONT face=sans-serif size=1>JVM Memory problem on
Windows Mobile 2003</FONT></TR></TBODY></TABLE><BR>
<TABLE>
<TBODY>
<TR vAlign=top>
<TD>
<TD></TR></TBODY></TABLE><BR></TR></TBODY></TABLE><BR><BR><BR><FONT size=3>Good
day.</FONT> <BR><FONT size=3> </FONT> <BR><FONT size=3>I am looking,
hopefully, for a little insight into a problem we are experiencing with a
production app running in Windows Mobile 2003.</FONT> <BR><FONT size=3>The
environment is as follows:</FONT> <BR><FONT size=3> </FONT> <BR><FONT
size=3> Hardware:</FONT> <BR><FONT size=3> Intemec
760C Handheld</FONT> <BR><FONT size=3> Siemens Cellular
Radio</FONT> <BR><FONT size=3> Bluetooth </FONT><BR><FONT
size=3> 128 MB RAM</FONT> <BR><FONT size=3> 256 MB SD
</FONT><BR><FONT size=3> </FONT><BR><FONT size=3> </FONT>
<BR><FONT size=3> Software:</FONT> <BR><FONT size=3>
Windows Mobile 2003 Pocket PC</FONT> <BR><FONT size=3> Ewe Java
Library/VM</FONT> <BR><FONT size=3> J9 JVM</FONT> <BR><FONT
size=3> </FONT> <BR><FONT size=3> We have created a Java
application that runs on the handheld and does mostly data collection.</FONT>
<BR><FONT size=3> The application then sends the data via Cellular
radio across AT&T to a central server for processing using XML-RPC
calls.</FONT> <BR><FONT size=3> The problem we are running in to is
a limit on the amount of memory that can be allocated when running a Java VM on
the particular handheld.</FONT> <BR><FONT size=3> When we try to
allocate more than 8 MB of memory the handheld throws an OutOfMemory error,
although there is MORE than sufficient memory available.</FONT> <BR><FONT
size=3> This 8 MB limit was reached when running under the Ewe
VM.</FONT> <BR><FONT size=3> Therefore we tested the application
under the J9 VM and it had a limit of 4MB before it threw the OOM error.</FONT>
<BR><FONT size=3> </FONT> <BR><FONT size=3>We then wrote a little C++
application that ran on the handheld allocating memory until it hit a
limit.</FONT> <BR><FONT size=3>The C++ app was able to allocate 23MB before it
crashed. </FONT><BR><FONT size=3>Neither of these was anywhere near the supposed
32MB of memory allocated for processes on the Windows Mobile OS.</FONT>
<BR><FONT size=3> </FONT> <BR><FONT size=3>My question is whether anyone
has seen this behavior before?</FONT> <BR><FONT size=3>If so, how did you remedy
it?</FONT> <BR><FONT size=3>If not, do you know of any possible limitations that
might be in the Manufacturer specific version of the OS that could cause this
behavior?</FONT> <BR><FONT size=3> </FONT> <BR><FONT size=3>Any kind of
response on this matter would be greatly appreciated.</FONT> <BR><FONT
size=3> </FONT> <BR><FONT size=3>Thank you for the time,</FONT> <BR><FONT
size=3>Damon </FONT><BR><FONT
size=3>===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body of
the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
</FONT><BR>===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body of
the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message
"help".</BODY></HTML>
===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic