SableVM on OpenWRT
"Stefan Arentz" <[email protected]> Thu, 4 May 2006 16:00:01 +0200
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Message-ID | <[email protected]> |
--===============1553624971==
Content-Type: multipart/alternative;
boundary="----=_Part_26170_25092487.1146751201211"
------=_Part_26170_25092487.1146751201211
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Howdy,
I'm trying to find out how well a free and open java virtual machine can ru=
n
on something smallish like a Linksys WRT54G running OpenWRT (Linux 2.4).
My biggest concern is memory usage.
I made a really simple test that does:
public static void main(String[] arguments) {
System.out.println("Hello");
Thread.sleep(60 * 1000);
}
This is the initial result with the SableVM package that 'ships' with
OpenWRT RC5.
Nothing running:
root@OpenWrt:~# free
total used free shared buffers
Mem: 14348 10640 3708 0 772
Swap: 0 0 0
Total: 14348 10640 3708
The test app running:
root@OpenWrt:~# free
total used free shared buffers
Mem: 14348 13140 1208 0 772
Swap: 0 0 0
Total: 14348 13140 1208
That is 2500 K allocated for sablevm. Is that normal for such a trivial app=
?
Is there like a baseline memory usage?
S.
------=_Part_26170_25092487.1146751201211
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Howdy,<br><br>I'm trying to find out how well a free and open java virtual =
machine can run on something smallish like a Linksys WRT54G running OpenWRT=
(Linux 2.4).<br><br>My biggest concern is memory usage.<br><br>I made a re=
ally simple test that does:
<br><br> public static void main(String[] arguments) {<br> =
System.out.println("Hello");<br> Thread.=
sleep(60 * 1000);<br> }<br><br>This is the initial result with the Sab=
leVM package that 'ships' with OpenWRT RC5.
<br><br>Nothing running:<br><br>root@OpenWrt:~# free<br> &=
nbsp; total &nbs=
p; used &n=
bsp; free shared  =
; buffers<br> Mem: &nb=
sp; 14348 10640 =
3708 &nbs=
p; 0  =
; 772<br> Swap: &=
nbsp; 0 &n=
bsp; 0 &nb=
sp; 0
<br>Total: 14348  =
; 10640 &n=
bsp; 3708<br><br>The test app running:<br><br>root@OpenWrt:~# free<br> =
; t=
otal used =
free sha=
red buffers<br> Mem: &=
nbsp; 14348 131=
40 1208 &n=
bsp; 0 &nb=
sp; 772
<br> Swap: =
0 =
0 0<br>To=
tal: 14348  =
; 13140 1=
208<br><br>That is 2500 K allocated for sablevm. Is that normal for such a =
trivial app? Is there like a baseline memory usage?
<br><br> S.<br><br>
------=_Part_26170_25092487.1146751201211--
--===============1553624971==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
SableVM-user mailing list
[email protected]
http://sablevm.org/lists/control/listinfo/sablevm-user
--===============1553624971==--