You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Yaduvendra Singh (JIRA)" <ji...@apache.org> on 2010/03/02 23:58:27 UTC
[jira] Created: (HTTPCLIENT-922) java.lang.OutOfMemoryError:
PermGen space - while instantiating MultipartEntity it goes out of memory
in JVM's permanent generation memory segment
java.lang.OutOfMemoryError: PermGen space - while instantiating MultipartEntity it goes out of memory in JVM's permanent generation memory segment
---------------------------------------------------------------------------------------------------------------------------------------------------
Key: HTTPCLIENT-922
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-922
Project: HttpComponents HttpClient
Issue Type: Bug
Affects Versions: 4.1 Alpha1
Environment: OS: Solaris
Server: SunOne 7
Reporter: Yaduvendra Singh
Priority: Minor
java.lang.OutOfMemoryError: PermGen space - while instantiating MultipartEntity it goes out of memory in JVM's permanent generation memory segment.
The behavior is intermittent and reported in production server.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] Updated: (HTTPCLIENT-922) java.lang.OutOfMemoryError:
PermGen space - while instantiating MultipartEntity it goes out of memory
in JVM's permanent generation memory segment
Posted by "Yaduvendra Singh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yaduvendra Singh updated HTTPCLIENT-922:
----------------------------------------
Fix Version/s: 4.1 Alpha2
> java.lang.OutOfMemoryError: PermGen space - while instantiating MultipartEntity it goes out of memory in JVM's permanent generation memory segment
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-922
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-922
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpMime
> Affects Versions: 4.1 Alpha1
> Environment: OS: Solaris
> Server: SunOne 7
> Reporter: Yaduvendra Singh
> Priority: Minor
>
> java.lang.OutOfMemoryError: PermGen space - while instantiating MultipartEntity it goes out of memory in JVM's permanent generation memory segment.
> The behavior is intermittent and reported in production server.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] Resolved: (HTTPCLIENT-922) java.lang.OutOfMemoryError:
PermGen space - while instantiating MultipartEntity it goes out of memory
in JVM's permanent generation memory segment
Posted by "Ortwin Glück (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ortwin Glück resolved HTTPCLIENT-922.
-------------------------------------
Resolution: Invalid
How is that an error in HttpClient? Don't buffer large content in memory, or configure memory in your VM appropriately.
> java.lang.OutOfMemoryError: PermGen space - while instantiating MultipartEntity it goes out of memory in JVM's permanent generation memory segment
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-922
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-922
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpMime
> Affects Versions: 4.1 Alpha1
> Environment: OS: Solaris
> Server: SunOne 7
> Reporter: Yaduvendra Singh
> Priority: Minor
>
> java.lang.OutOfMemoryError: PermGen space - while instantiating MultipartEntity it goes out of memory in JVM's permanent generation memory segment.
> The behavior is intermittent and reported in production server.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] Commented: (HTTPCLIENT-922) java.lang.OutOfMemoryError:
PermGen space - while instantiating MultipartEntity it goes out of memory
in JVM's permanent generation memory segment
Posted by "Yaduvendra Singh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841513#action_12841513 ]
Yaduvendra Singh commented on HTTPCLIENT-922:
---------------------------------------------
Yeah that's created by my lead.
Thanks Oleg for keeping an eye!
> java.lang.OutOfMemoryError: PermGen space - while instantiating MultipartEntity it goes out of memory in JVM's permanent generation memory segment
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-922
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-922
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpMime
> Affects Versions: 4.1 Alpha1
> Environment: OS: Solaris
> Server: SunOne 7
> Reporter: Yaduvendra Singh
> Priority: Minor
>
> java.lang.OutOfMemoryError: PermGen space - while instantiating MultipartEntity it goes out of memory in JVM's permanent generation memory segment.
> The behavior is intermittent and reported in production server.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] Commented: (HTTPCLIENT-922) java.lang.OutOfMemoryError:
PermGen space - while instantiating MultipartEntity it goes out of memory
in JVM's permanent generation memory segment
Posted by "Yaduvendra Singh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841503#action_12841503 ]
Yaduvendra Singh commented on HTTPCLIENT-922:
---------------------------------------------
Thanks for having a look!
I explored and found problem is with org.apache.james.mime4j.util.CharsetUtil of mime4j jar. It tries to load all available charset classes present under JVM.
I know memory for Perm Gen can be increased but there would be limit. I have increased it and would be doing a round of load testing. If it still consumes whole allocated space I would be putting some fix on CharsetUtil.
Stack trace for reference:
-----------------------------------------
java.lang.OutOfMemoryError: PermGen space
at sun.nio.cs.ext.IBM970$Encoder.<clinit>(IBM970.java:2688)
at sun.nio.cs.ext.IBM970.newEncoder(IBM970.java:45)
at java.lang.StringCoding$StringEncoder.<init>(StringCoding.java:215)
at java.lang.StringCoding$StringEncoder.<init>(StringCoding.java:207)
at java.lang.StringCoding.encode(StringCoding.java:266)
at java.lang.String.getBytes(String.java:947)
at org.apache.james.mime4j.util.CharsetUtil.<clinit>(CharsetUtil.java:1028)
at org.apache.http.entity.mime.MIME.<clinit>(MIME.java:51)
at org.apache.http.entity.mime.HttpMultipart.<clinit>(HttpMultipart.java:85)
at org.apache.http.entity.mime.MultipartEntity.<init>(MultipartEntity.java:78)
at org.apache.http.entity.mime.MultipartEntity.<init>(MultipartEntity.java:101)
> java.lang.OutOfMemoryError: PermGen space - while instantiating MultipartEntity it goes out of memory in JVM's permanent generation memory segment
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-922
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-922
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpMime
> Affects Versions: 4.1 Alpha1
> Environment: OS: Solaris
> Server: SunOne 7
> Reporter: Yaduvendra Singh
> Priority: Minor
>
> java.lang.OutOfMemoryError: PermGen space - while instantiating MultipartEntity it goes out of memory in JVM's permanent generation memory segment.
> The behavior is intermittent and reported in production server.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] Commented: (HTTPCLIENT-922) java.lang.OutOfMemoryError:
PermGen space - while instantiating MultipartEntity it goes out of memory
in JVM's permanent generation memory segment
Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841508#action_12841508 ]
Oleg Kalnichevski commented on HTTPCLIENT-922:
----------------------------------------------
There is a JIRA raised with mime4j project for this issue: MIME4J-174
Oleg
> java.lang.OutOfMemoryError: PermGen space - while instantiating MultipartEntity it goes out of memory in JVM's permanent generation memory segment
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-922
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-922
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpMime
> Affects Versions: 4.1 Alpha1
> Environment: OS: Solaris
> Server: SunOne 7
> Reporter: Yaduvendra Singh
> Priority: Minor
>
> java.lang.OutOfMemoryError: PermGen space - while instantiating MultipartEntity it goes out of memory in JVM's permanent generation memory segment.
> The behavior is intermittent and reported in production server.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] Updated: (HTTPCLIENT-922) java.lang.OutOfMemoryError:
PermGen space - while instantiating MultipartEntity it goes out of memory
in JVM's permanent generation memory segment
Posted by "Yaduvendra Singh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yaduvendra Singh updated HTTPCLIENT-922:
----------------------------------------
Component/s: HttpMime
> java.lang.OutOfMemoryError: PermGen space - while instantiating MultipartEntity it goes out of memory in JVM's permanent generation memory segment
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-922
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-922
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpMime
> Affects Versions: 4.1 Alpha1
> Environment: OS: Solaris
> Server: SunOne 7
> Reporter: Yaduvendra Singh
> Priority: Minor
>
> java.lang.OutOfMemoryError: PermGen space - while instantiating MultipartEntity it goes out of memory in JVM's permanent generation memory segment.
> The behavior is intermittent and reported in production server.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
[jira] Updated: (HTTPCLIENT-922) java.lang.OutOfMemoryError:
PermGen space - while instantiating MultipartEntity it goes out of memory
in JVM's permanent generation memory segment
Posted by "Yaduvendra Singh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HTTPCLIENT-922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yaduvendra Singh updated HTTPCLIENT-922:
----------------------------------------
Fix Version/s: (was: 4.1 Alpha2)
> java.lang.OutOfMemoryError: PermGen space - while instantiating MultipartEntity it goes out of memory in JVM's permanent generation memory segment
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-922
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-922
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpMime
> Affects Versions: 4.1 Alpha1
> Environment: OS: Solaris
> Server: SunOne 7
> Reporter: Yaduvendra Singh
> Priority: Minor
>
> java.lang.OutOfMemoryError: PermGen space - while instantiating MultipartEntity it goes out of memory in JVM's permanent generation memory segment.
> The behavior is intermittent and reported in production server.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org