Article View: borland.public.jbuilder.java.api
Article #2051Re: How many elements can a Hashtable hold?
From: a
Date: Mon, 09 Jul 2001 18:47
Date: Mon, 09 Jul 2001 18:47
17 lines
1522 bytes
1522 bytes
Perhaps you have run out of memory. I am not sure what the theoretical limit of the number of objects in a hashtable are, but the practical limit would be limited by the memory utilization of the JVM itself and the actual memory available to the operating system, be it virtual or physical. And if you are using Strings to run your tests with, you may be running into other immutable limitations as well... "Scott Yaung" <gzscott@21cn.com> wrote in message news:3b4965c7_1@dnews... > 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 ? > > Have a nice day! > Scott > >
Technical Details
Message-ID:
<3b49df88$1_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<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 09:57:36 PST From: <a> Newsgroups: borland.public.jbuilder.java.api References: <3b4965c7_1@dnews> Subject: Re: How many elements can a Hashtable hold? Date: Mon, 9 Jul 2001 14:47:24 -0400 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 65.24.125.84 Message-ID: <3b49df88$1_2@dnews> X-Trace: dnews 994697096 65.24.125.84 (9 Jul 2001 09:44:56 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews