lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prescott Nasser <geobmx...@hotmail.com>
Subject RE: Sharpen Error
Date Sun, 04 Mar 2012 08:10:48 GMT

For anyone else that is trying this on a low memory system. Apparently JVM sets max heap size
to be a percentage of total memory. Mine was too low. You can adjust this in the sharpen.common.xml
file: <jvmarg value="-Xms512m" />
<jvmarg value="-Xmx1024m" />
spiked to nearly 950mb and took about 3 minutes, but I got it finished. ~P> From: geobmx540@hotmail.com
> To: lucene-net-dev@lucene.apache.org
> Subject: RE: Sharpen Error
> Date: Sat, 3 Mar 2012 22:57:13 -0800
> 
> 
> My laptop isn't all that powerful, but 4gigs of ram should be sufficient for this...
>  > From: pierogitus@hotmail.com
> > To: lucene-net-dev@lucene.apache.org
> > Subject: RE: Sharpen Error
> > Date: Sat, 3 Mar 2012 22:14:21 -0800
> > 
> > No never had a memory error.
> > I see it does get up to about 500MB but I got 12GB in my system and it
> > finishes in a minute flat.
> > If I take out the test folders from the conversion it only gets to 300MB.
> > 
> > -----Original Message-----
> > From: Prescott Nasser [mailto:geobmx540@hotmail.com] 
> > Sent: Saturday, March 03, 2012 8:45 PM
> > To: lucene-net-dev@lucene.apache.org
> > Subject: RE: Sharpen Error
> > 
> > 
> > You were right - built it into the plugin folder, but it created it's own
> > plugin folder as well, so it was double nested. Got past that, and it looked
> > like it was going well, but about 2 minutes into the conversion I get out of
> > memory issues. I had a bunch apps open, closed them all down and ran again.
> > Watched it run, it got up to 600K memory and sat around there - had plenty
> > to spare. Did you run into this issue at all?
> >  > From: pierogitus@hotmail.com
> > > To: lucene-net-dev@lucene.apache.org
> > > Subject: RE: Sharpen Error
> > > Date: Sat, 3 Mar 2012 18:52:29 -0800
> > > 
> > > Are you sure built it and exported to the correct folder?
> > > The line numbers in the stack trace don't match up to the latest version.
> > > 
> > > Alex
> > > 
> > > -----Original Message-----
> > > From: Prescott Nasser [mailto:geobmx540@hotmail.com]
> > > Sent: Saturday, March 03, 2012 4:57 PM
> > > To: lucene-net-dev@lucene.apache.org
> > > Subject: Sharpen Error
> > > 
> > > 
> > > New thread.. Alex any thoughts on how I could solve the error below? 
> > > The java files copied over to the new workspace, but I think that's as 
> > > far as it got. I'll dig around myself, just asking in case you've
> > encountered this.
> > > Thanks~P  !SESSION 2012-03-03 16:51:41.229
> > > -----------------------------------------------
> > > eclipse.buildId=M20100909-0800
> > > java.version=1.6.0_17
> > > java.vendor=Sun Microsystems Inc.
> > > BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US 
> > > Framework
> > > arguments:  -application sharpen.core.application Lucene/java 
> > > -pascalCase+ -organizeUsings -nativeTypeSystem -nativeInterfaces -cp 
> > > C:\Users\GeoBMX540\Desktop\JavaLucene-3.5\lib\junit-4.7.jar -cp 
> > > C:\Users\GeoBMX540\Desktop\JavaLucene-3.5\lib\ant-1.7.1.jar -cp 
> > > C:\Users\GeoBMX540\Desktop\JavaLucene-3.5\lib\ant-junit-1.7.1.jar 
> > > -srcFolder C:\test -srcFolder C:\test-framework\java -strategyScope 
> > > RefactorInterfaceWithTypes .
> > > Command-line arguments:  -data
> > > C:\Users\GeoBMX540\Desktop\Grindstone\Grindstone\LuceneTest\workspace
> > > -application sharpen.core.application Lucene/java -pascalCase+ 
> > > -organizeUsings -nativeTypeSystem -nativeInterfaces -cp 
> > > C:\Users\GeoBMX540\Desktop\JavaLucene-3.5\lib\junit-4.7.jar -cp 
> > > C:\Users\GeoBMX540\Desktop\JavaLucene-3.5\lib\ant-1.7.1.jar -cp 
> > > C:\Users\GeoBMX540\Desktop\JavaLucene-3.5\lib\ant-junit-1.7.1.jar 
> > > -srcFolder C:\test -srcFolder C:\test-framework\java -strategyScope 
> > > RefactorInterfaceWithTypes .!ENTRY org.eclipse.osgi 4 0 2012-03-03
> > > 16:51:48.632 !MESSAGE Application error !STACK 1
> > > java.lang.IllegalArgumentException: -strategyScope  at 
> > > sharpen.core.framework.CommandLineParser.illegalArgument(CommandLinePa
> > > rser.j
> > > ava:30)
> > >  at
> > > sharpen.core.SharpenCommandLineParser.processOption(SharpenCommandLine
> > > Parser
> > > .java:119)
> > >  at
> > > sharpen.core.framework.CommandLineParser.parseArgument(CommandLinePars
> > > er.jav
> > > a:44)
> > >  at
> > > sharpen.core.framework.CommandLineParser.parse(CommandLineParser.java:
> > > 35)
> > >  at
> > > sharpen.core.SharpenCommandLineParser.<init>(SharpenCommandLineParser.
> > > java:4
> > > 0)
> > >  at
> > > sharpen.core.SharpenCommandLineParser.<init>(SharpenCommandLineParser.
> > > java:3
> > > 4)
> > >  at sharpen.core.SharpenCommandLine.parse(SharpenCommandLine.java:29)
> > >  at sharpen.core.SharpenApplication.start(SharpenApplication.java:47)
> > >  at
> > >
> > org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:
> > > 196)
> > >  at
> > > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplic
> > > ation(
> > > EclipseAppLauncher.java:110)
> > >  at
> > > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ecl
> > > ipseAp
> > > pLauncher.java:79)
> > >  at
> > > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.jav
> > > a:369)
> > >  at
> > > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.jav
> > > a:179)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
> > > at
> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> > > ava:39
> > > )
> > >  at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> > > orImpl
> > > .java:25)
> > >  at java.lang.reflect.Method.invoke(Method.java:597)
> > >  at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
> > >  at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
> > >  at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
> > >  at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
> > >  at org.eclipse.core.launcher.Main.main(Main.java:34)
> > >  		 	   		  
> > > 
> >  		 	   		  
> > 
>  		 	   		  
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message