Subject: Linux Emul: Java 1.4.2 receiving SIGSEGV when using Eclipse: Out of memory?
To: None <current-users@netbsd.org>
From: Brian de Alwis <bsd@cs.ubc.ca>
List: current-users
Date: 03/08/2004 15:40:43
--M9NhX3UHpAaciwkO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi everybody.  I'm running Eclipse, a Java IDE that seems to consume
a lot of memory, using Linux emulation under NetBSD 1.6ZK.  The
JVM is crashing due to a SIGSEGV (I've attached the JVM crash trace
below).

My suspicion was that this happened because of a difference between
NetBSD and Linux behaviour when an application runs out of memory
NetBSD's expected behaviour, as according to our man pages for
getrlimit(2), has the process being sent a SIGSEGV.  But Linux's
getrlimit pages say that exceeding the data segment size will cause
brk()/sbrk() to return 0 -- SIGSEGVs are signalled when there's a
stack overflow.

But more testing (just allocating new objects without releasing
them) doesn't seem to bear that out.  (Using the attached testing
program, I always receive OutOfMemory exceptions)

Any ideas?

Brian.



I have the following suse_* packages from pkgsrc:

    suse_x11-7.3nb2     Linux compatibility package for X11 binaries
    suse_compat-7.3     Linux compatibility package with old shared libraries
    suse_gtk-7.3        Linux compatibility package for GTK binaries
    suse_base-7.3nb4    Linux compatibility package

And I'm running the latest Sun JRE/JDK:

    sun-jre14-2.3       Sun's Java(tm) 2 Runtime Environment 1.4.2
    sun-jdk14-2.3       Sun's Java(tm) 2 SDK, Standard Edition 1.4.2

------------------------------------------------------------
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4806ED38
Function=__pthread_mutex_lock+0x18
Library=/lib/libpthread.so.0

Current Java thread:
	at org.eclipse.swt.internal.motif.OS.XtSetValues(Native Method)
	at org.eclipse.swt.widgets.MenuItem.setText(MenuItem.java:846)
	at org.eclipse.jface.action.ActionContributionItem.update(ActionContributionItem.java:769)
	at org.eclipse.jface.action.MenuManager.update(MenuManager.java:658)
	at org.eclipse.jface.action.MenuManager.update(MenuManager.java:658)
	at org.eclipse.jface.action.MenuManager.update(MenuManager.java:658)
	at org.eclipse.ui.internal.WorkbenchCommandsAndContexts.updateActiveWorkbenchWindowMenuManager(WorkbenchCommandsAndContexts.java:157)
	at org.eclipse.ui.internal.WorkbenchCommandsAndContexts$5.windowActivated(WorkbenchCommandsAndContexts.java:81)
	at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:380)
	at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:819)
	at org.eclipse.core.runtime.Platform.run(Platform.java:493)
	at org.eclipse.ui.internal.Workbench.fireWindowActivated(Workbench.java:378)
	at org.eclipse.ui.internal.WorkbenchWindow$11.shellActivated(WorkbenchWindow.java:1981)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:163)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:731)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2400)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2157)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1550)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1526)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:265)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:257)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:104)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
	at org.eclipse.core.launcher.Main.run(Main.java:742)
	at org.eclipse.core.launcher.Main.main(Main.java:581)

Dynamic libraries:
08048000-0804e000 r-xp 00000000 00:04 234336     
0804e000-0870d000 rw-p 00000000 00:00 0     
4804e000-48062000 r-xp 00000000 00:04 314547     
48062000-48063000 rw-p 00000000 00:00 0     
48063000-48064000 r-xs 00000000 00:00 0     
48064000-48065000 rw-p 00000000 00:00 0     
48065000-48066000 r--s 00000000 00:04 866017     
48066000-48067000 r--s 00000000 00:04 865984     
48067000-48075000 r-xp 00000000 00:04 314654     
48075000-4807d000 rw-p 0000d000 00:04 314654     
4807d000-4807f000 r-xp 00000000 00:04 314580     
4807f000-48081000 rw-p 00001000 00:04 314580     
48081000-4819c000 r-xp 00000000 00:04 314555     
4819c000-481a3000 rw-p 0011a000 00:04 314555     
481a3000-481a7000 rw-p 00000000 00:00 0     
481a7000-485a1000 r-xp 00000000 00:04 234357     
485a1000-485bd000 rw-p 003f9000 00:04 234357     
485bd000-485cf000 rw-p 00000000 00:00 0     
485cf000-485e1000 r-xp 00000000 00:04 314583     
485e1000-485e3000 rw-p 00011000 00:04 314583     
485e3000-485e5000 rw-p 00000000 00:00 0     
485e5000-48606000 r-xp 00000000 00:04 314581     
48606000-48607000 rw-p 00020000 00:04 314581     
48607000-4860f000 r-xp 00000000 00:04 234351     
4860f000-48610000 rw-p 00007000 00:04 234351     
48610000-4861b000 r-xp 00000000 00:04 314584     
4861b000-4861c000 rw-p 0000a000 00:04 314584     
4861c000-48620000 rw-s 00000000 00:00 104853     
48620000-48630000 r-xp 00000000 00:04 234363     
48630000-48632000 rw-p 0000f000 00:04 234363     
48632000-48652000 r-xp 00000000 00:04 234364     
48652000-48654000 rw-p 0001f000 00:04 234364     
48654000-48668000 r-xp 00000000 00:04 234365     
48668000-4866b000 rw-p 00013000 00:04 234365     
4866b000-49d48000 r--s 00000000 00:04 234912     
49d48000-49d92000 rw-p 00000000 00:00 0     
49d92000-49da8000 r--s 00000000 00:04 234392     
49da8000-49e80000 r--s 00000000 00:04 233658     
49e80000-49e91000 r--s 00000000 00:04 234393     
49e91000-4a3d9000 r--s 00000000 00:04 233659     
4a3d9000-4a3e0000 rwxp 00000000 00:00 0     
4a3e0000-4a3f0000 rwxp 00000000 00:00 0     
4a3f0000-4a400000 rwxp 00000000 00:00 0     
4a400000-4a410000 rwxp 00000000 00:00 0     
4a410000-4a440000 rwxp 00000000 00:00 0     
4a440000-4a451000 rwxp 00000000 00:00 0     
4a451000-4a731000 rwxp 00000000 00:00 0     
4a731000-4c3d0000 rwxp 00000000 00:00 0     
4c3d0000-4c3da000 rwxp 00000000 00:00 0     
4c3da000-4c3e0000 rwxp 00000000 00:00 0     
4c3e0000-4c3e7000 rwxp 00000000 00:00 0     
4c3e7000-4c459000 rwxp 00000000 00:00 0     
4c459000-4c481000 rw-p 00000000 00:00 0     
4c481000-4c484000 r--s 00000000 00:04 234389     
4c484000-4c489000 r--s 00000000 00:04 866085     
4c489000-4c48f000 r-xp 00000000 00:04 234369     
4c48f000-4c490000 rw-p 00005000 00:04 234369     
4c490000-4c4a0000 rwxp 00000000 00:00 0     
4c4a0000-4c4b0000 rwxp 00000000 00:00 0     
4c4b0000-4c4c0000 rwxp 00000000 00:00 0     
4c4c0000-4c4d0000 rwxp 00000000 00:00 0     
4c4d0000-4c4e0000 rwxp 00000000 00:00 0     
4c4e0000-4c4f0000 rwxp 00000000 00:00 0     
4c4f0000-4c500000 rwxp 00000000 00:00 0     
4c500000-4c510000 rwxp 00000000 00:00 0     
4c510000-4c520000 rwxp 00000000 00:00 0     
4c520000-4c570000 rwxp 00000000 00:00 0     
4c570000-4c7f0000 rwxp 00000000 00:00 0     
4c7f0000-4c970000 rwxp 00000000 00:00 0     
4c970000-4c980000 rwxp 00000000 00:00 0     
4c980000-4c990000 rwxp 00000000 00:00 0     
4c990000-4c9a0000 rwxp 00000000 00:00 0     
4c9a0000-4c9b0000 rwxp 00000000 00:00 0     
4c9b0000-4c9c0000 rwxp 00000000 00:00 0     
4c9c0000-4c9d0000 rwxp 00000000 00:00 0     
4c9d0000-4c9e0000 rwxp 00000000 00:00 0     
4c9e0000-4c9f0000 rwxp 00000000 00:00 0     
4c9f0000-4ca00000 rwxp 00000000 00:00 0     
4ca00000-4ca10000 rwxp 00000000 00:00 0     
4ca10000-4ca20000 rwxp 00000000 00:00 0     
4ca20000-4ca30000 rwxp 00000000 00:00 0     
4ca30000-4ca40000 rwxp 00000000 00:00 0     
4ca40000-4ca50000 rwxp 00000000 00:00 0     
4ca50000-4ca60000 rwxp 00000000 00:00 0     
4ca60000-4ca70000 rwxp 00000000 00:00 0     
4ca70000-4ca80000 rwxp 00000000 00:00 0     
4ca80000-4ca90000 rwxp 00000000 00:00 0     
4ca90000-4caa0000 rwxp 00000000 00:00 0     
4caa0000-4cab0000 rwxp 00000000 00:00 0     
4cab0000-4cac0000 rwxp 00000000 00:00 0     
4cac0000-4caf0000 rwxp 00000000 00:00 0     
4caf0000-4cdaa000 rwxp 00000000 00:00 0     
4cdaa000-4f159000 rwxp 00000000 00:00 0     
4f159000-50490000 rwxp 00000000 00:00 0     
50490000-504a0000 rwxp 00000000 00:00 0     
504a0000-504b0000 rwxp 00000000 00:00 0     
504b0000-504c0000 rwxp 00000000 00:00 0     
504c0000-504d0000 rwxp 00000000 00:00 0     
504d0000-504e0000 rwxp 00000000 00:00 0     
504e0000-504f0000 rwxp 00000000 00:00 0     
504f0000-50500000 rwxp 00000000 00:00 0     
50500000-50510000 rwxp 00000000 00:00 0     
50510000-50520000 rwxp 00000000 00:00 0     
50520000-50530000 rwxp 00000000 00:00 0     
50530000-50540000 rwxp 00000000 00:00 0     
50540000-50550000 rwxp 00000000 00:00 0     
50550000-50560000 rwxp 00000000 00:00 0     
50560000-50570000 rwxp 00000000 00:00 0     
50570000-50580000 rwxp 00000000 00:00 0     
50580000-50590000 rwxp 00000000 00:00 0     
50590000-505a0000 rwxp 00000000 00:00 0     
505a0000-505b0000 rwxp 00000000 00:00 0     
505b0000-505c0000 rwxp 00000000 00:00 0     
505c0000-505d0000 rwxp 00000000 00:00 0     
505d0000-505e0000 rwxp 00000000 00:00 0     
505e0000-505f0000 rwxp 00000000 00:00 0     
505f0000-50600000 rwxp 00000000 00:00 0     
50600000-50610000 rwxp 00000000 00:00 0     
50610000-50620000 rwxp 00000000 00:00 0     
50620000-50630000 rwxp 00000000 00:00 0     
50630000-50640000 rwxp 00000000 00:00 0     
50640000-50650000 rwxp 00000000 00:00 0     
50650000-50660000 rwxp 00000000 00:00 0     
50660000-50670000 rwxp 00000000 00:00 0     
50670000-50680000 rwxp 00000000 00:00 0     
50680000-50690000 rwxp 00000000 00:00 0     
50690000-506a0000 rwxp 00000000 00:00 0     
506a0000-506b0000 rwxp 00000000 00:00 0     
506b0000-506c0000 rwxp 00000000 00:00 0     
506c0000-506d0000 rwxp 00000000 00:00 0     
506d0000-506e0000 rwxp 00000000 00:00 0     
506e0000-506f0000 rwxp 00000000 00:00 0     
506f0000-50700000 rwxp 00000000 00:00 0     
50700000-50710000 rwxp 00000000 00:00 0     
50710000-50720000 rwxp 00000000 00:00 0     
50720000-50730000 rwxp 00000000 00:00 0     
50730000-50740000 rwxp 00000000 00:00 0     
50740000-50750000 rwxp 00000000 00:00 0     
50750000-50760000 rwxp 00000000 00:00 0     
50760000-50770000 rwxp 00000000 00:00 0     
50770000-50780000 rwxp 00000000 00:00 0     
50780000-50790000 rwxp 00000000 00:00 0     
50790000-507a0000 rwxp 00000000 00:00 0     
507a0000-507b0000 rwxp 00000000 00:00 0     
507b0000-507c0000 rwxp 00000000 00:00 0     
507c0000-507d0000 rwxp 00000000 00:00 0     
507d0000-507e0000 rwxp 00000000 00:00 0     
507e0000-507f0000 rwxp 00000000 00:00 0     
507f0000-50800000 rwxp 00000000 00:00 0     
50800000-50810000 rwxp 00000000 00:00 0     
50810000-50820000 rwxp 00000000 00:00 0     
50820000-50830000 rwxp 00000000 00:00 0     
50830000-50840000 rwxp 00000000 00:00 0     
50840000-50850000 rwxp 00000000 00:00 0     
50850000-50860000 rwxp 00000000 00:00 0     
50860000-50870000 rwxp 00000000 00:00 0     
50870000-50880000 rwxp 00000000 00:00 0     
50880000-508d0000 rwxp 00000000 00:00 0     
508d0000-51a10000 rwxp 00000000 00:00 0     
51a10000-54490000 rwxp 00000000 00:00 0     
54490000-54492000 rwxp 00000000 00:00 0     
54492000-544a7000 rwxp 00000000 00:00 0     
544a7000-544b2000 rwxp 00000000 00:00 0     
544b2000-544bb000 rwxp 00000000 00:00 0     
544bb000-544d0000 rwxp 00000000 00:00 0     
544d0000-544d1000 rwxp 00000000 00:00 0     
544d1000-544e5000 rwxp 00000000 00:00 0     
544e5000-544ef000 rwxp 00000000 00:00 0     
544ef000-544f2000 rwxp 00000000 00:00 0     
544f2000-544fa000 rwxp 00000000 00:00 0     
544fa000-54510000 rwxp 00000000 00:00 0     
54510000-5452c000 r--s 00000000 00:04 234388     
5452c000-54539000 r--s 00000000 00:04 234390     
54539000-545f4000 r--s 00000000 00:04 234391     
545f4000-54604000 r-xp 00000000 00:04 234368     
54604000-54605000 rw-p 0000f000 00:04 234368     
54605000-5463e000 r--s 00000000 00:04 864885     
5463e000-54646000 r--s 00000000 00:04 864887     
54646000-54651000 r--s 00000000 00:04 864888     
54651000-54666000 r--s 00000000 00:04 864886     
54666000-54678000 r--s 00000000 00:04 864880     
54678000-5468b000 r--s 00000000 00:04 864881     
5468b000-546c9000 r--s 00000000 00:04 865057     
546c9000-546cd000 r--s 00000000 00:04 865927     
546cd000-546e5000 r--s 00000000 00:04 865800     
546e5000-546f4000 r--s 00000000 00:04 862466     
546f4000-54847000 r--s 00000000 00:04 865399     
54847000-54a2e000 r--s 00000000 00:04 865937     
54a2e000-54aa8000 r--s 00000000 00:04 865814     
54aa8000-54bab000 r--s 00000000 00:04 865986     
54bab000-54bbe000 r--s 00000000 00:04 865985     
54bbe000-54c03000 r-xp 00000000 00:04 865991     
54c03000-54c06000 rw-p 00045000 00:04 865991     
54c06000-54d80000 r-xp 00000000 00:04 866086     
54d80000-54d8a000 r-xp 0017a000 00:04 866086     
54d8a000-54d9d000 rw-p 00183000 00:04 866086     
54d9d000-54d9e000 rw-p 00000000 00:00 0     
54d9e000-54d9f000 r-xp 00000000 00:04 866012     
54d9f000-54da0000 rw-p 00001000 00:04 866012     
54da0000-54e7d000 r-xp 00000000 00:04 314604     
54e7d000-54e83000 rw-p 000dc000 00:04 314604     
54e83000-54e90000 r-xp 00000000 00:04 314631     
54e90000-54e91000 rw-p 0000c000 00:04 314631     
54e91000-54eda000 r-xp 00000000 00:04 314639     
54eda000-54ede000 rw-p 00048000 00:04 314639     
54ede000-54edf000 rw-p 00000000 00:00 0     
54edf000-54ee6000 r-xp 00000000 00:04 314637     
54ee6000-54ee7000 rw-p 00006000 00:04 314637     
54ee7000-54eef000 r-xp 00000000 00:04 314602     
54eef000-54ef1000 rw-p 00007000 00:04 314602     
54ef1000-54f06000 r-xp 00000000 00:04 314574     
54f06000-54f08000 rw-p 00014000 00:04 314574     
54f08000-54f09000 rw-p 00000000 00:00 0     
54f09000-54f0c000 r--s 00000000 00:04 866015     
54f0c000-54fa1000 r--s 00000000 00:04 865830     
54fa1000-55232000 r--s 00000000 00:04 864552     
55232000-55250000 r--s 00000000 00:04 864764     
55250000-552bf000 r--s 00000000 00:04 865808     
552bf000-552e6000 r--s 00000000 00:04 865408     
552e6000-552e7000 r--s 00000000 00:04 864464     
552e7000-552f5000 r--s 00000000 00:04 865834     
552f5000-55300000 r--s 00000000 00:04 865021     
55300000-553f9000 rw-p 00000000 00:00 0     
553f9000-55400000 ---p 00000000 00:00 0     
55400000-5542c000 r--s 00000000 00:04 862318     
5542c000-5543b000 r--s 00000000 00:04 863627     
5543b000-5544b000 r--s 00000000 00:04 864483     
5544b000-554a5000 r--s 00000000 00:04 863926     
554a5000-554bb000 r--s 00000000 00:04 862450     
554bb000-554d4000 r--s 00000000 00:04 865022     
554d4000-554e2000 r--s 00000000 00:04 863614     
554e2000-554fa000 r--s 00000000 00:04 863973     
554fa000-554ff000 r--s 00000000 00:04 865842     
55500000-555fc000 rw-p 00000000 00:00 0     
555fc000-55600000 ---p 00000000 00:00 0     
55600000-556fb000 rw-p 00000000 00:00 0     
556fb000-55700000 ---p 00000000 00:00 0     
55700000-557ef000 r--s 00000000 00:04 863716     
557ef000-5585f000 r--s 00000000 00:04 863440     
5585f000-558d6000 r--s 00000000 00:04 863634     
558d6000-558e0000 r--s 00000000 00:04 863722     
558e0000-558e6000 rw-p 00000000 00:00 0     
55900000-55923000 rw-p 00000000 00:00 0     
55923000-55a00000 ---p 00000000 00:00 0     
55a00000-55ab0000 r--s 00000000 00:04 863437     
55ab0000-55b26000 r--s 00000000 00:04 865977     
55b26000-5602f000 r--s 00000000 00:04 863265     
5602f000-5607c000 r--s 00000000 00:04 865852     
5607c000-560ad000 r--s 00000000 00:04 863951     
560ad000-560f9000 r--s 00000000 00:04 863775     
bb57f000-bb580000 ---p 00000000 00:00 0     
bb580000-bb584000 rwxp 00000000 00:00 0     
bb584000-bb58e000 rwxp 00000000 00:00 0     
bb58e000-bb591000 ---p 00000000 00:00 0     
bb591000-bb600000 rwxp 00000000 00:00 0     
bb77f000-bb780000 ---p 00000000 00:00 0     
bb780000-bb784000 rwxp 00000000 00:00 0     
bb784000-bb78e000 rwxp 00000000 00:00 0     
bb78e000-bb791000 ---p 00000000 00:00 0     
bb791000-bb800000 rwxp 00000000 00:00 0     
bb97f000-bb980000 ---p 00000000 00:00 0     
bb980000-bb984000 rwxp 00000000 00:00 0     
bb984000-bb98e000 rwxp 00000000 00:00 0     
bb98e000-bb991000 ---p 00000000 00:00 0     
bb991000-bba00000 rwxp 00000000 00:00 0     
bbb7f000-bbb80000 ---p 00000000 00:00 0     
bbb80000-bbb84000 rwxp 00000000 00:00 0     
bbb84000-bbb8e000 rwxp 00000000 00:00 0     
bbb8e000-bbb91000 ---p 00000000 00:00 0     
bbb91000-bbc00000 rwxp 00000000 00:00 0     
bbd7f000-bbd80000 ---p 00000000 00:00 0     
bbd80000-bbd84000 rwxp 00000000 00:00 0     
bbd84000-bbd8e000 rwxp 00000000 00:00 0     
bbd8e000-bbd91000 ---p 00000000 00:00 0     
bbd91000-bbe00000 rwxp 00000000 00:00 0     
bbf7f000-bbf80000 ---p 00000000 00:00 0     
bbf80000-bbf84000 rwxp 00000000 00:00 0     
bbf84000-bbf8e000 rwxp 00000000 00:00 0     
bbf8e000-bbf91000 ---p 00000000 00:00 0     
bbf91000-bc000000 rwxp 00000000 00:00 0     
bc17f000-bc180000 ---p 00000000 00:00 0     
bc180000-bc184000 rwxp 00000000 00:00 0     
bc184000-bc18e000 rwxp 00000000 00:00 0     
bc18e000-bc191000 ---p 00000000 00:00 0     
bc191000-bc200000 rwxp 00000000 00:00 0     
bc37f000-bc380000 ---p 00000000 00:00 0     
bc380000-bc384000 rwxp 00000000 00:00 0     
bc384000-bc38e000 rwxp 00000000 00:00 0     
bc38e000-bc391000 ---p 00000000 00:00 0     
bc391000-bc400000 rwxp 00000000 00:00 0     
bc57f000-bc580000 ---p 00000000 00:00 0     
bc580000-bc584000 rwxp 00000000 00:00 0     
bc584000-bc58e000 rwxp 00000000 00:00 0     
bc58e000-bc591000 ---p 00000000 00:00 0     
bc591000-bc600000 rwxp 00000000 00:00 0     
bc77f000-bc780000 ---p 00000000 00:00 0     
bc780000-bc784000 rwxp 00000000 00:00 0     
bc784000-bc78e000 rwxp 00000000 00:00 0     
bc78e000-bc791000 ---p 00000000 00:00 0     
bc791000-bc800000 rwxp 00000000 00:00 0     
bc97f000-bc980000 ---p 00000000 00:00 0     
bc980000-bc984000 rwxp 00000000 00:00 0     
bc984000-bc98e000 rwxp 00000000 00:00 0     
bc98e000-bc991000 ---p 00000000 00:00 0     
bc991000-bca00000 rwxp 00000000 00:00 0     
bcb7f000-bcb80000 ---p 00000000 00:00 0     
bcb80000-bcb84000 rwxp 00000000 00:00 0     
bcb84000-bcb8e000 rwxp 00000000 00:00 0     
bcb8e000-bcb91000 ---p 00000000 00:00 0     
bcb91000-bcc00000 rwxp 00000000 00:00 0     
bcd7f000-bcd80000 ---p 00000000 00:00 0     
bcd80000-bcd84000 rwxp 00000000 00:00 0     
bcd84000-bcd8e000 rwxp 00000000 00:00 0     
bcd8e000-bcd91000 ---p 00000000 00:00 0     
bcd91000-bce00000 rwxp 00000000 00:00 0     
bcf7f000-bcf80000 ---p 00000000 00:00 0     
bcf80000-bcf84000 rwxp 00000000 00:00 0     
bcf84000-bcf8e000 rwxp 00000000 00:00 0     
bcf8e000-bd000000 rwxp 00000000 00:00 0     
bd17f000-bd180000 ---p 00000000 00:00 0     
bd180000-bd18e000 rwxp 00000000 00:00 0     
bd18e000-bd191000 ---p 00000000 00:00 0     
bd191000-bd200000 rwxp 00000000 00:00 0     
bd37f000-bd380000 ---p 00000000 00:00 0     
bd380000-bd384000 rwxp 00000000 00:00 0     
bd384000-bd38e000 rwxp 00000000 00:00 0     
bd38e000-bd391000 ---p 00000000 00:00 0     
bd391000-bd400000 rwxp 00000000 00:00 0     
bd57f000-bd580000 ---p 00000000 00:00 0     
bd580000-bd584000 rwxp 00000000 00:00 0     
bd584000-bd58e000 rwxp 00000000 00:00 0     
bd58e000-bd600000 rwxp 00000000 00:00 0     
bd77f000-bd780000 ---p 00000000 00:00 0     
bd780000-bd784000 rwxp 00000000 00:00 0     
bd784000-bd78e000 rwxp 00000000 00:00 0     
bd78e000-bd791000 ---p 00000000 00:00 0     
bd791000-bd800000 rwxp 00000000 00:00 0     
bd97f000-bd980000 ---p 00000000 00:00 0     
bd980000-bd984000 rwxp 00000000 00:00 0     
bd984000-bd98e000 rwxp 00000000 00:00 0     
bd98e000-bd991000 ---p 00000000 00:00 0     
bd991000-bda00000 rwxp 00000000 00:00 0     
bdb7f000-bdb80000 ---p 00000000 00:00 0     
bdb80000-bdc00000 rwxp 00000000 00:00 0     
bdc00000-bfa01000 ---p 00000000 00:00 0     
bfa01000-bfa05000 rw-p 00000000 00:00 0     
bfa05000-bfa0f000 rwxp 00000000 00:00 0     
bfa0f000-bfa12000 ---p 00000000 00:00 0     
bfa12000-bfbe0000 rw-p 00000000 00:00 0     
bfbe0000-bfbf0000 rw-p 00000000 00:00 0     
bfbf0000-bfc00000 rw-p 00000000 00:00 0     

Heap at VM Abort:
Heap
 def new generation   total 3136K, used 2173K [0x4c490000, 0x4c7f0000, 0x4c970000)
  eden space 2816K,  65% used [0x4c490000, 0x4c65f790, 0x4c750000)
  from space 320K,  99% used [0x4c7a0000, 0x4c7efff8, 0x4c7f0000)
  to   space 320K,   0% used [0x4c750000, 0x4c750000, 0x4c7a0000)
 tenured generation   total 40868K, used 24989K [0x4c970000, 0x4f159000, 0x50490000)
   the space 40868K,  61% used [0x4c970000, 0x4e1d74c0, 0x4e1d7600, 0x4f159000)
 compacting perm gen  total 22016K, used 21770K [0x50490000, 0x51a10000, 0x54490000)
   the space 22016K,  98% used [0x50490000, 0x519d2958, 0x519d2a00, 0x51a10000)

Local Time = Thu Feb 26 22:04:42 2004
Elapsed Time = 114
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode)
#
------------------------------------------------------------

-- 
     Brian de Alwis | Graduate student | Software Practices Lab | UBC
"There is much pleasure to be gained in useless knowledge." - Bertrand Russell

--M9NhX3UHpAaciwkO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="MemoryWaster.java"

import java.util.Hashtable;

class MemoryWaster {
    public static void main(String[] args) {
	Hashtable ht = new Hashtable();

	while(true) {
	    ht.put(new Object(), new Object());
	}
    }
}

--M9NhX3UHpAaciwkO--