Question : Out of memory

SQLServerException: The system is out of memory. Use server side cursors for large result sets

com.microsoft.sqlserver.jdbc.com.microsoft.sqlserver.jdbc.SQLServerException: The system is out of memory. Use server side cursors for large result sets:null. Use server side cursors for large result sets:null. Result set size:405,719,709. JVM total memory size:532,742,144.
com.microsoft.sqlserver.jdbc.SQLServerException: The system is out of memory. Use server side cursors for large result sets:null. Result set size:405,719,709. JVM total memory size:532,742,144.


I get this error does anyone know a fix

I found this article online

http://www.gulfsoft.com/modules.php?op=modload&name=News&file=article&sid=282&mode=thread&order=0&thold=0

but I dont know where to go and set the

jdbc:sqlserver://SERVERNAME;databasename=WAREHOUS;SelectMethod=cursor;


Please advice me on this its urgent

Answer : Out of memory

@shrikrishnasamant
I'm afraid that I can only help you with the SQL side - it might be more appropriate to post a link in the Java Programming topic area. (And I only realised now that I posted the same link as you).
Random Solutions  
 
programming4us programming4us