Although by no means an expert in neither ECS nor Java, I guess the
problem might be related to the Java Virtual Machine you are using. I
had a few problems with JDK 1.1.8v1 from blackdown.org for linux/i386.
It would produce memory errors in certain circumstances. After switching
to IBM's JDK 1.1.8 the problems went away. ECS was not used in this
code, so the problem might be something totally different.

Anyway, as far as I can tell, JVM should handle all memory
allocation/garbage collection and unless there are some real nasty bugs
in ECS, the problem shouldn't be within its domain. The fact that
out.println causes the problem is another fact that suggests that.

Did you try to stuff that much information into any String object? Does
that cause memory errors?

Hope this helps.

Bojan

"Crook, Charles" wrote:
> 
> Are you saying that you will create a 2 MB html file to be sent to the
> user??  Maybe the issue is whether you should allow such a large page to be
> created for online viewing...
> 
> -----Original Message-----
> From: Venkatesh Kumar A G [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 22, 2000 10:55 AM
> To: ECS
> Subject: Memory poblems
> 
> Hi,
>    I once posted this question but soultions did not help me.
>   Please let me know if any one have come across this issue and found a
> solution.
> 
>   Our DB app generates a page with a query. If the Query has lots of data
> the
>   ecs structure is blown out and I get a out of memory error.
> 
>   This never happens even if the data is really huge and I do not print the
> page. It happens when I say  out.println only.
> 
> It seems it is basically the overflow for a string object. Can anyone please
> let me know how huge pages (2MB or more) are usually handled using ECS.
> 
> Thanks
> Venkat
> 
> --
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]
> 
> --
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]


--
------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to