Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: Knute Johnson Newsgroups: comp.lang.java.programmer Subject: Re: Memory & Pixel Usage Etc: As Number of JTable Rows & Columns Increases Date: Wed, 12 Jun 2013 08:21:52 -0700 Organization: A noiseless patient Spider Lines: 29 Message-ID: References: <9f2c5c11-c4e1-42bc-8c82-e0255ea897a5@m8g2000yqf.googlegroups.com> <572d9ee8-aa0c-4275-a41c-e9bebccfbc21@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 12 Jun 2013 15:17:05 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="aba33539224e5c782fe0c4053f7756fd"; logging-data="5752"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+iqWqnaP7CDawgpNcSv49D" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 In-Reply-To: <572d9ee8-aa0c-4275-a41c-e9bebccfbc21@googlegroups.com> Cancel-Lock: sha1:1ego82YupBLHAB6t9BeVy5OKmq8= Xref: csiph.com comp.lang.java.programmer:24381 On 6/11/2013 11:35 PM, clusardi2k@aol.com wrote: > On Tuesday, June 11, 2013 6:56:49 PM UTC-4, Knute Johnson wrote: >> On 6/11/2013 12:42 PM, Haircuts Are Important wrote: > How much >> memory does a JTable use as the number of rows and columns in > >> increases. > > How can I measure memory useage and number of >> pixels used by a JTable. > > Thank you, > As to memory I have no >> idea but I am curious why it matters. Most modern computers have a >> boat load of memory and virtual memory. As for pixels, you can >> create it, display it on a JPanel, pack it and ask it how big it >> is. -- Knute Johnson > > It matters to me because of overall efficiency questions. Basically, > if I have many other programs running or computationally intense > prgrams running at the same time will my new java project slow all > these programs down if it has many rows and columns. Can I improve > the effiency more by restricting my new project to only a few rows > and columns. > > Thanks, > It's not an answerable question. Speed is relative to the amount of memory, processor and video card resources available divided by the load. How many elements does your JTable have? -- Knute Johnson