Re: [JPP-Devel] DbfFile and String intern

2008-07-23 Thread Sunburned Surveyor
Thank you Michael for your efforts at making improvements. The Sunburned Surveyor On Mon, Jul 21, 2008 at 3:29 PM, Andreas Schmitz <[EMAIL PROTECTED]> wrote: > Michael Michaud wrote: > > Hi, > >> Nothing to add to Paul's answer. >> I found the tip of replacing the intern() method by the use of a

Re: [JPP-Devel] DbfFile and String intern

2008-07-21 Thread Andreas Schmitz
Michael Michaud wrote: Hi, > Nothing to add to Paul's answer. > I found the tip of replacing the intern() method by the use of a hashmap > in the excellent site of Roedy Green : > > http://mindprod.com/jgloss/interned.html#WHY (end of the page) thanks, to both of you. Best regards, Andreas --

Re: [JPP-Devel] DbfFile and String intern

2008-07-21 Thread Larry Becker
@Nacho, did you check to see if it is in Stefan's new default-plugins.xml file? I was getting the same problem (in Eclipse) until I remembered to get the new file and pass a new parameter to OJ. regards, Larry On Mon, Jul 21, 2008 at 1:48 PM, Michael Michaud <[EMAIL PROTECTED]> wrote: > Nacho U

Re: [JPP-Devel] DbfFile and String intern

2008-07-21 Thread Michael Michaud
Nacho Uve a écrit : > I'm going to test it. I'm working with large shapefiles this days... > > But I miss the BeanShell console in the nighty build... Will it be > removed? > I think it's very useful. I just tried the 2008-07-21 nighly-build, and the BeanShell Console is there PS : if you use bean

Re: [JPP-Devel] DbfFile and String intern

2008-07-21 Thread Michael Michaud
Hi, Nothing to add to Paul's answer. I found the tip of replacing the intern() method by the use of a hashmap in the excellent site of Roedy Green : http://mindprod.com/jgloss/interned.html#WHY (end of the page) Michaël Paul Austin a écrit : > Andreas, > > PermGen space is the area that the J

Re: [JPP-Devel] DbfFile and String intern

2008-07-21 Thread Paul Austin
Where you do String.substring and then are going to put it in the cache use new String(s) this will trim any extra characters from the substring. If you don't do this you're cache will include all the characters of the original string. Paul -

Re: [JPP-Devel] DbfFile and String intern

2008-07-21 Thread Paul Austin
Andreas, PermGen space is the area that the Java virtual machine uses to store class file definitions and things like interned Strings. If you are using commons-logging in say tomcat then there can be cases where classes in your web application are referenced by classes in the servlet contai

Re: [JPP-Devel] DbfFile and String intern

2008-07-21 Thread Nacho Uve
But I see /lib/ext/Beanshell folder... Maybe there are a problem... 2008/7/21 Nacho Uve <[EMAIL PROTECTED]>: > I'm going to test it. I'm working with large shapefiles this days... > > But I miss the BeanShell console in the nighty build... Will it be removed? > I think it's very useful. > > >

Re: [JPP-Devel] DbfFile and String intern

2008-07-21 Thread Nacho Uve
I'm going to test it. I'm working with large shapefiles this days... But I miss the BeanShell console in the nighty build... Will it be removed? I think it's very useful. 2008/7/21 Andreas Schmitz <[EMAIL PROTECTED]>: > Michaël Michaud wrote: > > Hi, > > first of all, thanks for the effort of

Re: [JPP-Devel] DbfFile and String intern

2008-07-21 Thread Andreas Schmitz
Michaël Michaud wrote: Hi, first of all, thanks for the effort of making OpenJUMP faster! > ==> permgen memory cannot be cleaned (no way to free the permgen space if the > layer is deleted) Do you know of a good reference of how the different memory types work/what they're used for? We're somet