[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.mdt.ocl] Re: OCL query to find classes

Hi Christian,

Thanks for your help. getModel() is also provides desired result. I have one problem with eclipse, I am just feed up with this error, I dont know how to resolve this. I have loaded OCLInterpreter example in eclipse and than I run new eclipse Instance, where I have java project and it contains EMF XMI model, here I run my OCL queries on the model. After running two three queries I stuck with the eclipse and following error is produced:
my eclipse.ini contains following parameters:
-Xms40m -Xmx256m -XX:MaxPermSize=256m
-------------------------------------------------------------
Exception in thread "AutoAssist Delay" org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.OutOfMemoryError: Java heap space)
at org.eclipse.swt.SWT.error(SWT.java:3777)
at org.eclipse.swt.SWT.error(SWT.java:3695)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:194)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4251)
at org.eclipse.jface.text.contentassist.ContentAssistant$AutoAssistListener.showAssist(ContentAssistant.java:366)
at org.eclipse.jface.text.contentassist.ContentAssistant$AutoAssistListener.run(ContentAssistant.java:278)
at java.lang.Thread.run(Unknown Source)
.......
-------------------------------


regards,
pokojo