Help needed for [ERROR] [lmv] Stack overflow; to increase the stack size, use the -Xss flag at startup (java -Xss1M ...)
When running in development mode I get the following error: [ERROR] [lmv] Stack overflow; to increase the stack size, use the -Xss flag at startup (java -Xss1M ...) 1) Is this error common or does it indicate something seriously wrong with my application? 2) What how do I configure to avoid this error? Thanks in advance. Jeff -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Help needed for [ERROR] [lmv] Stack overflow; to increase the stack size, use the -Xss flag at startup (java -Xss1M ...)
It's not an unusual condition. It is entirely possible that your compiled project code exceeds the default stack allocation. One thing I've found is that simply adding an element or two to a UI XML will cause this exception. Increase the stack size. Also, this has been discussed previously on this list. Cheers, jec On Sun, Nov 7, 2010 at 8:10 AM, Jeff Schwartz jefftschwa...@gmail.comwrote: When running in development mode I get the following error: [ERROR] [lmv] Stack overflow; to increase the stack size, use the -Xss flag at startup (java -Xss1M ...) 1) Is this error common or does it indicate something seriously wrong with my application? 2) What how do I configure to avoid this error? Thanks in advance. Jeff -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Help needed for [ERROR] [lmv] Stack overflow; to increase the stack size, use the -Xss flag at startup (java -Xss1M ...)
On 11/07/2010 09:17 AM, Jeff Schwartz wrote: Thanks, Jeff. I modified my run configuration in Eclipse adding -Xss1M (please see the attached image). I still get the same error. Also, using Google Reader I searched the group for similar messages but I couldn't find any. BTW I am running on Windows Vista and using Eclipse Helios. Maybe I am configuring this incorrectly. Any suggestions? Thanks. Jeff I found this reference: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/79edcc887785a283 It talks about -Xmx, not -Xss Have you tried increasing the -Xmx setting? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Help needed for [ERROR] [lmv] Stack overflow; to increase the stack size, use the -Xss flag at startup (java -Xss1M ...)
Thanks, Jeff. Xmx was and is currently set at 512m. I upped my stack memory to 50m but still throws the same error. Ideas, anyone? Jeff On Sun, Nov 7, 2010 at 12:22 PM, Jeff Chimene jchim...@gmail.com wrote: On 11/07/2010 09:17 AM, Jeff Schwartz wrote: Thanks, Jeff. I modified my run configuration in Eclipse adding -Xss1M (please see the attached image). I still get the same error. Also, using Google Reader I searched the group for similar messages but I couldn't find any. BTW I am running on Windows Vista and using Eclipse Helios. Maybe I am configuring this incorrectly. Any suggestions? Thanks. Jeff I found this reference: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/79edcc887785a283 It talks about -Xmx, not -Xss Have you tried increasing the -Xmx setting? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Jeff -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Help needed for [ERROR] [lmv] Stack overflow; to increase the stack size, use the -Xss flag at startup (java -Xss1M ...)
Resolved my bad (head slapping sound)! I fell for an old trap: I made numerous changes to my code and 1st test raised the error. Instead of checking for the new code causing the problem I believed the exception I blamed the environment. The short of it is that I refactored a class to use an adapter to make handling the numerous events easier. The problem is that originally my class implemented the event listener's interface methods, overriding all of them but when I refactored the class to use the new adapter I couldn't extend it from the adapter because it already was extending Composite so instead I in-lined it as follows: someClass.addSomeListener(new SomeModifiedListenerAdapter(){ @Override public void somethingCreated(SomethingCreatedEvent somethingCreatedEvent) { somethingCreated(somethingCreatedEvent); } }); My class already had a somethingCreated(SomethingCreatedEvent somethingCreatedEvent) method which I originally implemented to override the listener's interface method so when I refactored the code to use the adapter I intended to reuse that method but I forgot to rename it - BINGO - hence the stack overrun and the thrown error. I've now renamed the method in my class to _somethingCreated(somethingCreatedEvent) and corrected the code as follow: someClass.addSomeListener(new SomeModifiedListenerAdapter(){ @Override public void somethingCreated(SomethingCreatedEvent somethingCreatedEvent) { _somethingCreated(somethingCreatedEvent); } }); Of course this fixed the problem I've reset my JVM parameters back to the state they were in prior to having been so stupid. :) Jeff On Sun, Nov 7, 2010 at 3:28 PM, Jeff Schwartz jefftschwa...@gmail.comwrote: Thanks, Jeff. Xmx was and is currently set at 512m. I upped my stack memory to 50m but still throws the same error. Ideas, anyone? Jeff On Sun, Nov 7, 2010 at 12:22 PM, Jeff Chimene jchim...@gmail.com wrote: On 11/07/2010 09:17 AM, Jeff Schwartz wrote: Thanks, Jeff. I modified my run configuration in Eclipse adding -Xss1M (please see the attached image). I still get the same error. Also, using Google Reader I searched the group for similar messages but I couldn't find any. BTW I am running on Windows Vista and using Eclipse Helios. Maybe I am configuring this incorrectly. Any suggestions? Thanks. Jeff I found this reference: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/79edcc887785a283 It talks about -Xmx, not -Xss Have you tried increasing the -Xmx setting? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Jeff -- Jeff -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.