on 12-17-2008 1:51 PM
Hi Frndz...
I did sample Graphics application for demo, initality it was very fine , but todays itz giving "Out of memory error on EP server "
In this applicatio i used Timed Trigger which calls a method for every 2 sec's intervel, and that called method will genrate a grapic images, for this graphic input i taken a Current sec's ,
Date dt = new Date();
int sec = dt.getSeconds();
wdComponentAPI.getMessageManager().reportSuccess("Change rate/2 Secconds..."+ sec);
* int size = wdContext.nodeGnode().size();*
* for(int i=size-1;i>0;i--){*
IPrivateGraphicDemoView.IGnodeElement categoryElement =wdContext.nodeGnode().getGnodeElementAt(i);
wdContext.nodeGnode().removeElement(categoryElement);*
}*
* IPrivateGraphicDemoView.IGnodeElement categoryElement ;*
* for (int i = 0; i < sec ; i++) {*
* categoryElement = wdContext.createGnodeElement();*
* categoryElement.setText("" + i);*
* categoryElement.setSeries1(i-2.3);*
* categoryElement.setSeries2(2.5 - i);*
* wdContext.nodeGnode().addElement(categoryElement);*
* }*
Let me know that if we use Timed trigger UI ele , does we need to close this UI elemnt , if this is the case than how ??
I did this application 6 days back itz working very fine n i gave a demo also, than y this error is coming now only.
I hope there was some mistake in my code especialy in the FOR (itz going t5o infinet loop)
If anybady have any suggestions plz share with me.
Regards
Rajesh
Hi
just give a restart to your j2ee server as well as ur NWDS and see it's working or not
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi...
Yes, I restarted the Server n NWDS also but whenever am running this Application am facing same problem.
And i forgot to say one thing that yester day i did one change in this app i.e i insterd Gantt chart in existing application, actualy i don't know how to do this Gantt I just follwoed one blog n i did , after these changes(gantt insert) only am faciing this "Out of Memory Error on Server" .
Regards
Rajesh
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.