WAFileUploadTag, large uploads, and crashes

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

WAFileUploadTag, large uploads, and crashes

Carl Gundel
Has anyone here had problems with crashes and uploading large files using
WAFileUploadTag?  I am using Seaside 2.6 and VW 7.4.1.

-Carl Gundel
http://www.runbasic.com
http://www.libertybasic.com

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: WAFileUploadTag, large uploads, and crashes

Philippe Marschall
2008/10/2, Carl Gundel <[hidden email]>:
> Has anyone here had problems with crashes and uploading large files using
> WAFileUploadTag?

Could you define "large"? On Squeak with something in the region of
tens of megabytes: yes.

> I am using Seaside 2.6 and VW 7.4.1.

These are both quite old versions.

Cheers
Philippe
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: WAFileUploadTag, large uploads, and crashes

Carl Gundel
>Subject: Re: [Seaside] WAFileUploadTag, large uploads, and crashes
> 2008/10/2, Carl Gundel <[hidden email]>:
>> Has anyone here had problems with crashes and uploading large files using
>> WAFileUploadTag?
>
> Could you define "large"? On Squeak with something in the region of
> tens of megabytes: yes.

Ten of megabytes would be about right.  It seems like uploading a 20MB file
consumes a couple of hundred megabytes of Smalltalk memory.  I wonder if it
is Web Toolkit to blame, or Seaside.

>> I am using Seaside 2.6 and VW 7.4.1.
>
> These are both quite old versions.

Yes, but I'm stuck with these for the short term.

-Carl Gundel
http://www.runbasic.com
http://www.libertybasic.com 

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: WAFileUploadTag, large uploads, and crashes

Philippe Marschall
2008/10/2 Carl Gundel <[hidden email]>:

>> Subject: Re: [Seaside] WAFileUploadTag, large uploads, and crashes
>> 2008/10/2, Carl Gundel <[hidden email]>:
>>>
>>> Has anyone here had problems with crashes and uploading large files using
>>> WAFileUploadTag?
>>
>> Could you define "large"? On Squeak with something in the region of
>> tens of megabytes: yes.
>
> Ten of megabytes would be about right.  It seems like uploading a 20MB file
> consumes a couple of hundred megabytes of Smalltalk memory.  I wonder if it
> is Web Toolkit to blame, or Seaside.

Seaside is to blame that it want's to have the contents of the file in
the memory, that's 20 MB in your case. For the rest it's either
WebToolkit or the adapter that sits between Seaside and WebToolkit.
Since this part shouldn't really do much.

You could give Swazoo 2 a shot.

Cheers
Philippe
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: WAFileUploadTag, large uploads, and crashes

Philippe Marschall
2008/10/2 Philippe Marschall <[hidden email]>:

> 2008/10/2 Carl Gundel <[hidden email]>:
>>> Subject: Re: [Seaside] WAFileUploadTag, large uploads, and crashes
>>> 2008/10/2, Carl Gundel <[hidden email]>:
>>>>
>>>> Has anyone here had problems with crashes and uploading large files using
>>>> WAFileUploadTag?
>>>
>>> Could you define "large"? On Squeak with something in the region of
>>> tens of megabytes: yes.
>>
>> Ten of megabytes would be about right.  It seems like uploading a 20MB file
>> consumes a couple of hundred megabytes of Smalltalk memory.  I wonder if it
>> is Web Toolkit to blame, or Seaside.
>
> Seaside is to blame that it want's to have the contents of the file in
> the memory, that's 20 MB in your case. For the rest it's either
> WebToolkit or the adapter that sits between Seaside and WebToolkit.
> Since this part shouldn't really do much.

Hmm, that part somehow does not read OK. Lets try again:

Seaside is to blame that it wants to have the contents of the file in
the memory, that's 20 MB in your case. For the rest it's either
WebToolkit or the adapter that sits between Seaside and WebToolkit.
Since this part shouldn't really do that much it's likely that the
problem is somewhere in WebToolkit. Needlessly Copying data around is
quite a common problem.

You could give Swazoo 2 a shot.

Cheers
Philippe
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: WAFileUploadTag, large uploads, and crashes

Göran Krampe
In reply to this post by Carl Gundel
Hey!

Carl Gundel wrote:
> Has anyone here had problems with crashes and uploading large files
> using WAFileUploadTag?  I am using Seaside 2.6 and VW 7.4.1.

Well, I added streaming support for file uploads.... aha. You are not on
Squeak, duh. :)

regards, Göran

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: WAFileUploadTag, large uploads, and crashes

Carl Gundel
In reply to this post by Philippe Marschall
So, I guess then a direct question to the Cincom product team is, does  
the latest supported version of Seaside and Opentalk(?) on Visualworks  
support file uploads without consuming many times the size of the file  
in memory space?

-Carl

On Oct 2, 2008, at 11:02 AM, Philippe Marschall wrote:

> 2008/10/2 Philippe Marschall <[hidden email]>:
>> 2008/10/2 Carl Gundel <[hidden email]>:
>>>> Subject: Re: [Seaside] WAFileUploadTag, large uploads, and crashes
>>>> 2008/10/2, Carl Gundel <[hidden email]>:
>>>>>
>>>>> Has anyone here had problems with crashes and uploading large  
>>>>> files using
>>>>> WAFileUploadTag?
>>>>
>>>> Could you define "large"? On Squeak with something in the region of
>>>> tens of megabytes: yes.
>>>
>>> Ten of megabytes would be about right.  It seems like uploading a  
>>> 20MB file
>>> consumes a couple of hundred megabytes of Smalltalk memory.  I  
>>> wonder if it
>>> is Web Toolkit to blame, or Seaside.
>>
>> Seaside is to blame that it want's to have the contents of the file  
>> in
>> the memory, that's 20 MB in your case. For the rest it's either
>> WebToolkit or the adapter that sits between Seaside and WebToolkit.
>> Since this part shouldn't really do much.
>
> Hmm, that part somehow does not read OK. Lets try again:
>
> Seaside is to blame that it wants to have the contents of the file in
> the memory, that's 20 MB in your case. For the rest it's either
> WebToolkit or the adapter that sits between Seaside and WebToolkit.
> Since this part shouldn't really do that much it's likely that the
> problem is somewhere in WebToolkit. Needlessly Copying data around is
> quite a common problem.
>
> You could give Swazoo 2 a shot.
>
> Cheers
> Philippe
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside