You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ax...@ws.apache.org on 2004/10/15 13:01:52 UTC
[jira] Commented: (AXIS-1567) Client out of memory exception calling webservice with a return string > 1MB
The following comment has been added to this issue:
Author: Bjarni Thor Jonsson
Created: Fri, 15 Oct 2004 4:01 AM
Body:
Could this be the reason?
Memory leak in use of StringBuffer.toString()
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4724129
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/AXIS-1567?page=comments#action_54170
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXIS-1567
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXIS-1567
Summary: Client out of memory exception calling webservice with a return string > 1MB
Type: Bug
Status: Unassigned
Priority: Critical
Project: Axis
Components:
Basic Architecture
Assignee:
Reporter: Guenther Zwetti
Created: Wed, 22 Sep 2004 3:55 AM
Updated: Fri, 15 Oct 2004 4:01 AM
Environment: winxp
Description:
I have implemented a very simple webservice which produces
a String return value holding a special XML structure.
The length of this string is about 900kB. When I return this string
the client throws an out of memory exception.
The stubs for the client have been created with wsdl2java.
Are there any size limitations?
Webservice:
public String loadPersons(int year) {
// produces a string with size > 1MB
return myString
}
Client:
ServiceXLocator location = new ServiceXLocator();
try {
ServiceX service = location.getServiceX(new URL(LOC)); String x = service.loadInventors(2003);
System.out.println(x);
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira