Hi,
i have the same problem tryed 3.4.0 same problem. Then i learned that only pictures with a size bigger than 4MB would cause the problem, i could upload pictures with 3.8 or 3.9 MB even with 3.5.1. But if the picture size is greater than 4MB something causes the Warning (without content) message box to appear.
But to give any further help i could not find the logs. Do i have to switch them on somehow? where can i find them?
Sincerely sk8connection
Hi,
There are actually two problems:
1) The size of picture, that may generate an OutOfMemoryError
2) The reaction of the applet, when such an error occurs.
This thread is about the second point: the previous applet version would freeze, when displaying an error message to the user, while uploading. This error
should be solved with the 3.5.3rc5 version.
Please confirm it:
I need feedback on this one. It's a really tricky problem, with deadlock in Java internal threads. According to me it's corrected.
Which mean: back to Point 1) again : OutOfMemoryError with big pictures. This again is a complex problem. To manage pictures, the code need to create a big memory area, to work on the picture, and down-scale it to the target size.
The problem is the same on client side (in the applet) or on server side (with GD or ImageMagick). With big pictures, I had to allow bigger size for server scripts, otherwise, I had memory errors.
I'm looking to find a solution there. But, as I can't control the memory used the applet, I guess there are no real solution.
So again:
a) This thread is about 'applet freezing'. Please give me feedback about that. The question: do still the applet freeze, or is the error message properly displayed ?
b) About memory problems: I created another thread. Please use it for this kind of discussion.
Link to this URL:
http://forum.coppermine-gallery.net/index.php/topic,60114.new.html#new