Btw, what I miss in the wiki section is the pretty common ulimit error on *nix.
Most unixoid systems (like Linux) have a standard quota of 1024 file handles per process. This is not enough for building OpenJPA on a Linux box and you will most likely get funny IO exceptions. You might have to edit /etc/security/limits.conf and add the following (or adequat) lines to increase the ulimit: [insertyourusername] hard nofile 4096 [insertyourusername] soft nofile 4096 LieGrue, strub ----- Ursprüngliche Mail ---- > Von: Pinaki Poddar <[email protected]> > An: [email protected] > Gesendet: Mittwoch, den 5. Mai 2010, 1:07:38 Uhr > Betreff: Re: AW: Slice: OutOfMemoryError shortly after pounding 1000+ threads > to the system. > > Hi Simon, New Revision: 941084 [1] changes the thread pool usage > in Slice. Also has other assorted changes. The changes are generally > available on nightly snapshot builds [2] But you can also build > OpenJPA locally [3]. [1] > href="http://openjpa.208410.n2.nabble.com/svn-commit-r941084-in-openjpa-trunk-openjpa-slice-src-main-java-org-apache-openjpa-slice-main-java-o-td5006281.html#a5006281" > > target=_blank > >http://openjpa.208410.n2.nabble.com/svn-commit-r941084-in-openjpa-trunk-openjpa-slice-src-main-java-org-apache-openjpa-slice-main-java-o-td5006281.html#a5006281 [2] > > >http://openjpa.apache.org/downloads.html [3] > href="http://openjpa.apache.org/building.html#Building-CommandLineBuilds" > target=_blank > >http://openjpa.apache.org/building.html#Building-CommandLineBuilds ----- Pinaki > -- View this message in context: > href="http://openjpa.208410.n2.nabble.com/Spring-3-0-2-OpenJPA-2-0-Slice-OutOfMemoryError-shortly-after-pounding-1000-threads-to-the-system-tp5000822p5006294.html" > > target=_blank > >http://openjpa.208410.n2.nabble.com/Spring-3-0-2-OpenJPA-2-0-Slice-OutOfMemoryError-shortly-after-pounding-1000-threads-to-the-system-tp5000822p5006294.html Sent > from the OpenJPA Users mailing list archive at Nabble.com.
