🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2049

Re: How many elements can a Hashtable hold?

#2049
From: Joi Ellis [TeamB]
Date: Mon, 09 Jul 2001 12:14
20 lines
1604 bytes
Scott Yaung <gzscott@21cn.com> wrote:
> I have try to test the limitation of the Hashtable,
> add about 24k, then the application down,
> even then windows is dead too.
> Is that the limitation of it ?

It sounds like your JVM ran out of heap.  If you stick -Xmx256m in
your Project Properties | Run | VM Parameters field, your heap will
be set to 256meg.  I'm assuming your machine has that much ram.

Windows does not recover well from low-memory conditions, though.
It's possible the JVM crashed because its host ran out of physical
ram and swap space before the JVM hit its configured heap limit.


-- 
Joi Ellis (TeamB)               http://www.teamb.com/
No direct email, please.
For best results, post on news server newsgroups.borland.com!
Newsgroup Info: http://www.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <3b49a022_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!not-for-mail
References: <3b4965c7_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,8af8dca0484713b8
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-07-09 05:15:08 PST
Message-ID: <3b49a022_1@dnews>
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: How many elements can a Hashtable hold?
Newsgroups: borland.public.jbuilder.java.api
References: <3b4965c7_1@dnews>
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.16-3 (i686))
NNTP-Posting-Host: 209.46.41.66
Date: 9 Jul 2001 05:14:26 -0700
X-Trace: dnews 994680866 209.46.41.66 (9 Jul 2001 05:14:26 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!not-for-mail