- This topic has 10 replies, 8 voices, and was last updated 14 years, 3 months ago by Gain.
-
AuthorPosts
-
Ufuk COBANMemberRun-time exception java.lang.OutOfMemoryError occurred during validation. The validator being run was JSP Validator and the message thrown was .
what validator can cause this? what is the solution?
Brian FernandesModeratoratmuc,
Could you please post all the information requested in Posting Guidelines?
As a top off suggestion, increase the memory given to the JVM while starting eclipse use: eclipse.exe -vmargs -Xmx512m
Though we really need the above questions answered to address your issue correctly.
Best,
Brian.
Ufuk COBANMemberproject is a web application with additional features; hibernate,spring
i installed plugins: spring, wst, tptp*** Date: Mon Oct 10 11:47:32 EEST 2005
*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.4.2_06*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.0.1 GA
Build id: 20050930-4.0.1-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.1
Build id: M20050929-0840Eclipse Platform
Version: 3.1.1
Build id: M20050929-0840Eclipse Java Development Tools
Version: 3.1.1
Build id: M20050929-0840Eclipse Plug-in Development Environment
Version: 3.1.1
Build id: M20050929-0840Eclipse Project SDK
Version: 3.1.1
Build id: M20050929-0840Eclipse RCP
Version: 3.1.1
Build id: M20050929-0840Eclipse startup command=-data
O:\repository\pro_rec\eclipse
-os
win32
-ws
win32
-arch
x86
-launcher
O:\repository\programming\eclipse-3.1.1\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
b7c_38
-vm
C:\WINDOWS\system32\javaw.exe
support-eugeneMemberWhat toolsets were you using? (JSF, Struts, etc)
Ufuk COBANMemberstruts and jstl
Scott AndersonParticipantEclipse probably really is legitimately running out of memory since the default heapsize for Java applications is quite small for such a large application. Can you try restarting Eclipse with these arguments and see if that remedies the problem:
eclipse.exe -vmargs -Duser.language=en -Xms128M -Xmx512M
Paul DevineMemberI’m frequently running into this problem. A friend of mine is too. I’ve been running with -Xms512M -Xmx768M, my friend runs with a heap up to 1Gb. I’m running Eclipse 3.1, MyEclipse 4.0.2. I haven’t tracked Eclipse memory usage over time. At this point I’m not sure what to do other than try disabling MyEclipse.
georgrafferMemberWe also have the OutOfMemoryError when using MyEclipse 4.02
It seems that compiling / validating a huge amount of jsps causes the problem.
Please fix this, I have to restart my eclipse multiple times a day.I’m currently using 768 MB of heap.
kind regards.
Scott AndersonParticipantAll,
The issue is often not the heap itself but the Perm space for classes. Please try these startup arguments:
eclipse.exe -vmargs -Duser.language=en -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128MThat should do the trick. Oh, and 4.0.3 had enhancements for JSP compilation so you should update if you haven’t already. Please see the announcement here: http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-9793.html
Florian SimonMemberThank you that works perfect!
kind regards,
Georg Raffer
GainMemberThis is due to the fact that your workspace is overloaded. As a solution give a new workspace while starting MyEclipse and it should be fine.
-
AuthorPosts