Hi, You probably need to give more memory to the JVM, using -Xmx or the -Xms switches.
Best, R On Thu, Jun 11, 2015 at 1:10 PM, naglaa elmesalmy <[email protected]> wrote: > I download this model file again and the new one give me this error"Exception > in thread "main" java.lang.OutOfMemoryError: Java heap space" in > ParserModel model = new ParserModel(modelInputSteam); > > > > > On Thursday, June 11, 2015 10:41 AM, Alexander Wallin > <[email protected]> wrote: > > > Have you tried downloading the model file again? have you double checked > it’s there and readable by your application? > > >> 11 jun 2015 kl. 10:34 skrev naglaa elmesalmy >> <[email protected]>: >> >> I have problem when I use "en-parser-chunking.bin" ,it give me this error >> "java.io.EOFException: Unexpected end of ZLIB input stream" >> this is my code: >> InputStream is = new FileInputStream("E:\\Models\\en-parser-chunking.bin"); >> ParserModel model = new ParserModel(is); >> Parser parser = ParserFactory.create(model); >> > > >
