Tested increasing java heap size on the container application run environment (or servlet container environvent)? http://javahowto.blogspot.com/2006/06/6-common-errors-in-setting-java-heap.html
<http://javahowto.blogspot.com/2006/06/6-common-errors-in-setting-java-heap.html>this also can help a lot you to profile any java application (an evolution of jconsole): https://visualvm.dev.java.net/ Stefano. <http://javahowto.blogspot.com/2006/06/6-common-errors-in-setting-java-heap.html> 2010/7/5 Emmanuel Lecharny <[email protected]> > On 7/5/10 3:11 PM, Mauricio Streisky wrote: > >> Hi all, >> > > Hi, > > I'm trying to use apacheds as embedded in out java application. I need >> to check if apacheds can handle a lot of entries in the database and >> check the performance for this. >> > It can. We have tested it with 5 millions entries two years ago. Now, when > it comes to performance, it's depends on what you expect. > > I have also installed a stand-alone version to compare. After import >> 100K entries using a LDIF file and a standard schema under ou=MySchema >> I have no problems to read this entries with the stand alone server >> but with the embedded version I receive a Error 80 (Other). >> > Well, many possible mis-configuration can cause such an error. Here, it > would be better if we can check the code you use to create the server. > (Please keep in mind that this ML will likely discard attachment, so feel > free to create a JIRA) > > > Have someone this already tested? >> > > All the unit tests are simple java tests embedding the server. It works. > > I using the apacheds 1.5.5. >> > > You should consider using 1.5.7. > > Should I configure something for the embedded code to handle huge >> databases? >> > > Most certainly the memory and the cache size. Also the index. > > > I have to get 2 Mio entries with good performance >> > > Define 'good performance'... > > -- > Regards, > Cordialement, > Emmanuel Lécharny > www.iktek.com > >
