Re: Reducing size of sable vm for ipaqs

"Grzegorz B. Prokopski" <[email protected]> Thu, 19 May 2005 10:08:09 -0400
Newsgroups gmane.comp.java.vm.sablevm.general
Organization Debian http://www.debian.org - The Free Operating System
Message-ID <[email protected]>
On Tue, 2005-10-05 at 08:42 -0700, Vinod wrote:
> Hi. I was trying to install sable vm on my ipaq. But
> undfortunately i run out of memory when i unpack the
> class libraries. my sd card is of no use as linux does
> not recognize sd cards. Is there anyway i can get
> sable vm running in my situation? are all the class
> libraries needed? all i intend to do is some java
> socket programming between my two ipaqs running on
> familiar linux v0.8.2. Any alternate vm with a small
> size? 
> Would appreciate any pointers or suggestions. 

As it was pointed out, the biggest problem here is the size of the java
library itself.  There would be no problem not compiling some sets of
java files, as long as we knew which ones are these.

Or if you could provide a list of classes composing a minimal set that
compiles together and provides some basic funcionality, we could add it
as an option to SableVM Classpath (and SableVM SDK).

As for the size of JVM, we've been working on that internally, and we
managed to reduce binary size by almost *half* (on x86) and we're not
done yet.  This should be incorporated into the mainstream as
"low-footprint" switch (but JVMDI/JDWP is first in the queue of merges,
so it won't be immediate).  Another thing to consider is the runtime
size (RAM memory consumption), which is another issue we'll be looking
into soon.

HTH,

			Grzegorz B. Prokopski
-- 
Grzegorz B. Prokopski           <[email protected]>
SableVM - Free, LGPL'ed Java VM  http://sablevm.org
Why SableVM ?!?                  http://sablevm.org/wiki/Features
Debian GNU/Linux - the Free OS   http://www.debian.org