2 wss724000 wss724000 于 2013.12.26 11:42 提问

java.lang.OutOfMemoryError: Java heap space java内存溢出问题 有错误信息

2013-12-26 11:18:09 [ERROR]-[rmss:165] Housekeeping log.error( :
java.lang.OutOfMemoryError: Java heap space
at java.lang.AbstractStringBuilder.(AbstractStringBuilder.java:45)
at java.lang.StringBuilder.(StringBuilder.java:68)
at org.logicalcobwebs.proxool.HouseKeeper.sweep(HouseKeeper.java:90)
at org.logicalcobwebs.proxool.HouseKeeperThread.run(HouseKeeperThread.java:39)
2013-12-26 11:18:09 [ERROR]-[rmss:105] Prototype
org.logicalcobwebs.proxool.ProxoolException: Unexpected prototyping problem
at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:229)
at org.logicalcobwebs.proxool.Prototyper.sweep(Prototyper.java:102)
at org.logicalcobwebs.proxool.PrototyperThread.run(PrototyperThread.java:44)
Caused by: java.lang.OutOfMemoryError: Java heap space
at sun.security.util.DerInputBuffer.toByteArray(DerInputBuffer.java:51)
at sun.security.util.DerInputStream.toByteArray(DerInputStream.java:131)
at sun.security.x509.X500Name.parseDER(X500Name.java:767)
at sun.security.x509.X500Name.(X500Name.java:290)
at sun.security.x509.CertificateIssuerName.(CertificateIssuerName.java:65)
at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:668)
at sun.security.x509.X509CertInfo.(X509CertInfo.java:152)
at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1729)
at sun.security.x509.X509CertImpl.(X509CertImpl.java:179)
at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:90)
at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:305)
at com.sun.net.ssl.internal.ssl.HandshakeMessage$CertificateMsg.(HandshakeMessage.java:404)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:124)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1112)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1139)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:154)
at org.logicalcobwebs.proxool.DefaultConnectionBuilder.buildConnection(DefaultConnectionBuilder.java:39)
at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:159)
... 2 more

Caused by:
java.lang.OutOfMemoryError: Java heap space
at sun.security.util.DerInputBuffer.toByteArray(DerInputBuffer.java:51)
at sun.security.util.DerInputStream.toByteArray(DerInputStream.java:131)
at sun.security.x509.X500Name.parseDER(X500Name.java:767)
at sun.security.x509.X500Name.(X500Name.java:290)
at sun.security.x509.CertificateIssuerName.(CertificateIssuerName.java:65)
at sun.security.x509.X509CertInfo.parse(X509CertInfo.java:668)
at sun.security.x509.X509CertInfo.(X509CertInfo.java:152)
at sun.security.x509.X509CertImpl.parse(X509CertImpl.java:1729)
at sun.security.x509.X509CertImpl.(X509CertImpl.java:179)
at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:90)
at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:305)
at com.sun.net.ssl.internal.ssl.HandshakeMessage$CertificateMsg.(HandshakeMessage.java:404)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:124)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1112)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1139)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:154)
at org.logicalcobwebs.proxool.DefaultConnectionBuilder.buildConnection(DefaultConnectionBuilder.java:39)
at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:159)
at org.logicalcobwebs.proxool.Prototyper.sweep(Prototyper.java:102)
at org.logicalcobwebs.proxool.PrototyperThread.run(PrototyperThread.java:44)

将excle数据读取后插入数据库出错

1个回答

xiangnideshen
xiangnideshen   2013.12.26 20:55

excel插入数据太多了,导致jvm内存溢出,解决方法,使用POI2007那一版 数据刷新即可解决问题

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!