[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pnet-developers] Memory usage on an embedded system
From: |
Gopal V |
Subject: |
Re: [Pnet-developers] Memory usage on an embedded system |
Date: |
Tue, 5 Oct 2004 06:38:41 -0700 (PDT) |
Hi,
> I do not know. All I see is that memory usage goes
> from 800k to 9700k
> and then ilrun gets killed by Linux VM (according to
> kernel log) and
> errors reported earlier are printed out. The test
> program is just a
> simple hello world, that runs on my PC just OK. I
> will try to port libgc
> and then we will see if gc was the problem.
Ok, that could be a lot of things happening . To
reduce
memory footprint, you can switch to the slower engine
flavours (the more you JIT, the more memory it takes)
like the direct threaded or token threaded engine .
Try disabling IL_CONFIG_UNROLL in include/il_profile.h
should save at least half of that space for an
equivalent hit in speed :)
Also, I hope mmap is working for you properly :)
> I was looking just for this kind of information.
> Thank you.
Since you're doing it for embedded systems, I assume
you've read
(http://www.southern-storm.com.au/doc/embedded.html)
?.
The Latin1 option and Reduce Code can help a lot
if you have to put it on flash. (btw, I was playing
around with pnet on top of OSE Delta, didn't make it).
Gopal
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail