开发者

Creating server side cursors

开发者 https://www.devze.com 2023-01-23 05:07 出处:网络
c开发者_Python百科om.microsoft.sqlserver.jdbc.SQLServerException: The system is out of memory. Use server side cursors for large result sets:Java heap space. Result set size:280,236,031. JVM total me

c开发者_Python百科om.microsoft.sqlserver.jdbc.SQLServerException: The system is out of memory. Use server side cursors for large result sets:Java heap space. Result set size:280,236,031. JVM total memory size:423,297,024.

I am trying to fetch a big data set from SQL and I get following error. Let me know if anyone have seen something similar and willing to drop a line.


Have you tried increasing the amount of memory available to your JVM? On the command line, add -Xmx1024m to increase the JVMs memory footprint to 1Gig. Its not a long term solution, but it will solve your immediate problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消