Re: Multiple models and String.intern

2017-02-08 Thread Jeffrey Zemerick
I did not know that about StringTableSize. I thought it was more of a hard limit. That's good to know. Thanks On Wed, Feb 8, 2017 at 2:16 PM, Joern Kottmann wrote: > The StringTableSize doesn't limit the amount of Strings that can be stored > in the pool, if the size is too

Re: Multiple models and String.intern

2017-02-08 Thread Joern Kottmann
The StringTableSize doesn't limit the amount of Strings that can be stored in the pool, if the size is too small it just gets slower. This would only be done for loading models, querying the model wouldn't be affected. The predicate / feature strings would be interned. Jörn On Wed, Feb 8, 2017

Re: Multiple models and String.intern

2017-02-08 Thread Jeffrey Zemerick
Would it be possible to have an option or setting somewhere that determines if string pooling is used? The option would provide backward compatibility in case someone has to adjust the -XX:StringTableSize because their existing models exceed the default JVM limit, and an option would also be