Thursday, June 2, 2011

Re: Eclipse plugin

Is a java.lang.OutOfMemoryError: PermGen space error. Increase PermGen space.

2011/6/2 Daniel Mauricio Patino León <ceo.lion.dev@gmail.com>
Hello there, iam developing whit gwt and  gwt plug in for ecplise

and when i restart the server (usually 2 or 3 times after)

i always get this err

[SPAM] [proyecto] - Invoke native method
@com.google.gwt.core.client.impl.Impl::apply(Ljava/lang/Object;Ljava/
lang/Object;Ljava/lang/Object;)
       [ERROR] [proyecto] - exception thrown
               [ERROR] [proyecto] - Out of memory; to increase the amount of
memory, use the -Xmx flag at startup (java -Xmx128M ...)



14:15:21.423 [ERROR] [proyecto] exception thrown

java.lang.OutOfMemoryError: PermGen space
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:466)
   at
com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:
1078)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   at com.extjs.gxt.ui.client.widget.treepanel.TreePanel.&lt;init&gt;
(TreePanel.java:273)
   at com.liondev.Proyecto.client.Desktop.View.Desktop.&lt;init&gt;
(Desktop.java:79)
   at com.liondev.Proyecto.client.Login.Controller.LoginController
$2.onSuccess(LoginController.java:126)
   at com.liondev.Proyecto.client.Login.Controller.LoginController
$2.onSuccess(LoginController.java:1)
   at
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:
232)
   at
com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:
287)
   at com.google.gwt.http.client.RequestBuilder
$1.onReadyStateChange(RequestBuilder.java:395)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
   at
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
   at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
167)
   at
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:
326)
   at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
207)
   at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
132)
   at
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
561)
   at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
269)
   at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
91)
   at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
   at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
   at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
   at java.lang.reflect.Method.invoke(Method.java:597)


i tryyed to increse the memory but dont know why i always get this err

thank you for you r help

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment