Menu

Image Resize needs more testing

Bugs
omue
2007-12-12
2013-04-25
  • omue

    omue - 2007-12-12

    I set the maxpixels to 307200 or 786432 and select multiple .jpg files for upload, the progress bar either stay empty or move couple bars.  The page just stop.  The problem doesn't occur if maxpixels is not being set.  This happens on some Cannon's JPGs.  I think java on client, some time, has problem openning certain images and will cause the upload process to hang.

     
    • Simon Rycroft

      Simon Rycroft - 2007-12-12

      This is most likely a memory issue, and not one I'm likely to fix I'm afraid.  The image resizing code should be considered beta.  If you can check the "Java console" for errors that would help.

       
    • omue

      omue - 2007-12-13

      Simon, here is the "Java console", the progress bar shows 3 blocks and hung.

      Java Plug-in 1.5.0_06
      Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
      User home directory = C:\Documents and Settings\Tuan
      ----------------------------------------------------
      c:   clear console window
      f:   finalize objects on finalization queue
      g:   garbage collect
      h:   display this help message
      l:   dump classloader list
      m:   print memory usage
      o:   trigger logging
      p:   reload proxy configuration
      q:   hide console
      r:   reload policy configuration
      s:   dump system and deployment properties
      t:   dump thread list
      v:   dump thread stack
      x:   clear classloader cache
      0-5: set trace level to <n>
      ----------------------------------------------------
      POSTLET VERSION: 0.14
      2007-11-13 14:38:03 +0000 (Tue, 13 Nov 2007)
      *** background colour is not a number:###### ***
      *** table header colour is not a number:###null### ***
      *** table header back colour is not a number:###### ***
      *** warnmessage is null ***
      *** maxthread is not a number ***
      *** helppage is badly formed:###null### ***
      *** helpbutton is null ***
      *** addbutton is null ***
      *** removebutton is null ***
      *** uploadbutton is null ***
      *** failedfilemessage is null ***
      *** Adding button ***
      *** Windows D'n'D ***
      *** Enabling the upload and remove buttons ***
      Exception in thread "Thread-48" java.lang.OutOfMemoryError: Java heap space
      Exception in thread "Thread-50" java.lang.OutOfMemoryError: Java heap space
      Exception in thread "Thread-51" java.lang.OutOfMemoryError: Java heap space
      Exception in thread "Thread-52" java.lang.OutOfMemoryError: Java heap space
      Exception in thread "Thread-53" java.lang.OutOfMemoryError: Java heap space
      Exception in thread "Thread-54" java.lang.OutOfMemoryError: Java heap space
      Exception in thread "Thread-55" java.lang.OutOfMemoryError: Java heap space
      Exception in thread "Thread-57" java.lang.OutOfMemoryError: Java heap space
      Exception in thread "Thread-56" java.lang.OutOfMemoryError: Java heap space
      Exception in thread "Thread-58" java.lang.OutOfMemoryError: Java heap space
      *** REPLY ***
      *** HTTP/1.1 100 Continue
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:06:51 GMT
      X-Powered-By: ASP.NET

      HTTP/1.1 200 OK
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:06:52 GMT
      X-Powered-By: ASP.NET
      Connection: close
      X-AspNet-Version: 2.0.50727
      Transfer-Encoding: chunked
      Set-Cookie: ASP.NET_SessionId=kgax1445ggolurrtijsqgl45; path=/; HttpOnly
      Cache-Control: private
      Content-Type: text/html; charset=utf-8

      d
      RECEIVING:YES
      0

      ***
      *** END REPLY ***

       
    • omue

      omue - 2007-12-13

      I changed "maxthreads" to 2, click on the Upload button and the page is hung for a while, then progress bar moved couple blocks, stop, moved couple more block, stop... iexplore.exe is using 100% of CPU.  The "Jave Console" bellow is when the upload has been completed.  If you look at the "Date" time stamps, there are big delay between files. 

      Java Plug-in 1.5.0_06
      Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
      User home directory = C:\Documents and Settings\Tuan

      ----------------------------------------------------
      c:   clear console window
      f:   finalize objects on finalization queue
      g:   garbage collect
      h:   display this help message
      l:   dump classloader list
      m:   print memory usage
      o:   trigger logging
      p:   reload proxy configuration
      q:   hide console
      r:   reload policy configuration
      s:   dump system and deployment properties
      t:   dump thread list
      v:   dump thread stack
      x:   clear classloader cache
      0-5: set trace level to <n>
      ----------------------------------------------------

      POSTLET VERSION: 0.14
      2007-11-13 14:38:03 +0000 (Tue, 13 Nov 2007)
      *** background colour is not a number:###### ***
      *** table header colour is not a number:###null### ***
      *** table header back colour is not a number:###### ***
      *** warnmessage is null ***
      *** helppage is badly formed:###null### ***
      *** helpbutton is null ***
      *** addbutton is null ***
      *** removebutton is null ***
      *** uploadbutton is null ***
      *** failedfilemessage is null ***
      *** Adding button ***
      *** Windows D'n'D ***
      *** Enabling the upload and remove buttons ***
      *** REPLY ***
      *** HTTP/1.1 100 Continue
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:19:35 GMT
      X-Powered-By: ASP.NET

      HTTP/1.1 200 OK
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:19:36 GMT
      X-Powered-By: ASP.NET
      Connection: close
      X-AspNet-Version: 2.0.50727
      Transfer-Encoding: chunked
      Set-Cookie: ASP.NET_SessionId=uem0u045clhhlp45cwzjrd55; path=/; HttpOnly
      Cache-Control: private
      Content-Type: text/html; charset=utf-8

      d
      RECEIVING:YES
      0

      ***
      *** END REPLY ***
      *** REPLY ***
      *** HTTP/1.1 100 Continue
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:20:08 GMT
      X-Powered-By: ASP.NET

      HTTP/1.1 200 OK
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:20:09 GMT
      X-Powered-By: ASP.NET
      Connection: close
      X-AspNet-Version: 2.0.50727
      Transfer-Encoding: chunked
      Set-Cookie: ASP.NET_SessionId=i3cgxf55qlu4fa55onw5mr45; path=/; HttpOnly
      Cache-Control: private
      Content-Type: text/html; charset=utf-8

      d
      RECEIVING:YES
      0

      ***
      *** END REPLY ***
      *** REPLY ***
      *** HTTP/1.1 100 Continue
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:20:12 GMT
      X-Powered-By: ASP.NET

      HTTP/1.1 200 OK
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:20:13 GMT
      X-Powered-By: ASP.NET
      Connection: close
      X-AspNet-Version: 2.0.50727
      Transfer-Encoding: chunked
      Set-Cookie: ASP.NET_SessionId=ujtwit45ron0ec55dwvttb55; path=/; HttpOnly
      Cache-Control: private
      Content-Type: text/html; charset=utf-8

      d
      RECEIVING:YES
      0

      ***
      *** END REPLY ***
      *** REPLY ***
      *** HTTP/1.1 100 Continue
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:20:17 GMT
      X-Powered-By: ASP.NET

      HTTP/1.1 200 OK
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:20:18 GMT
      X-Powered-By: ASP.NET
      Connection: close
      X-AspNet-Version: 2.0.50727
      Transfer-Encoding: chunked
      Set-Cookie: ASP.NET_SessionId=mrqtcn55aafwhf55ks403s55; path=/; HttpOnly
      Cache-Control: private
      Content-Type: text/html; charset=utf-8

      d
      RECEIVING:YES
      0

      ***
      *** END REPLY ***
      *** REPLY ***
      *** HTTP/1.1 100 Continue
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:22:50 GMT
      X-Powered-By: ASP.NET

      HTTP/1.1 200 OK
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:22:51 GMT
      X-Powered-By: ASP.NET
      Connection: close
      X-AspNet-Version: 2.0.50727
      Transfer-Encoding: chunked
      Set-Cookie: ASP.NET_SessionId=ens3rw45nwh42s55ral5nq55; path=/; HttpOnly
      Cache-Control: private
      Content-Type: text/html; charset=utf-8

      d
      RECEIVING:YES
      0

      ***
      *** END REPLY ***
      *** REPLY ***
      *** HTTP/1.1 100 Continue
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:22:57 GMT
      X-Powered-By: ASP.NET

      HTTP/1.1 200 OK
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:22:58 GMT
      X-Powered-By: ASP.NET
      Connection: close
      X-AspNet-Version: 2.0.50727
      Transfer-Encoding: chunked
      Set-Cookie: ASP.NET_SessionId=qdgsfr45dur5r4yue0nmjy55; path=/; HttpOnly
      Cache-Control: private
      Content-Type: text/html; charset=utf-8

      d
      RECEIVING:YES
      0

      ***
      *** END REPLY ***
      *** REPLY ***
      *** HTTP/1.1 100 Continue
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:24:48 GMT
      X-Powered-By: ASP.NET

      HTTP/1.1 200 OK
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:24:49 GMT
      X-Powered-By: ASP.NET
      Connection: close
      X-AspNet-Version: 2.0.50727
      Transfer-Encoding: chunked
      Set-Cookie: ASP.NET_SessionId=xboopr55hujrh4qgallbg1nt; path=/; HttpOnly
      Cache-Control: private
      Content-Type: text/html; charset=utf-8

      d
      RECEIVING:YES
      0

      ***
      *** END REPLY ***
      *** REPLY ***
      *** HTTP/1.1 100 Continue
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:24:56 GMT
      X-Powered-By: ASP.NET

      HTTP/1.1 200 OK
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:24:57 GMT
      X-Powered-By: ASP.NET
      Connection: close
      X-AspNet-Version: 2.0.50727
      Transfer-Encoding: chunked
      Set-Cookie: ASP.NET_SessionId=3mrf3j5535inh0552vumam55; path=/; HttpOnly
      Cache-Control: private
      Content-Type: text/html; charset=utf-8

      d
      RECEIVING:YES
      0

      ***
      *** END REPLY ***
      *** REPLY ***
      *** HTTP/1.1 100 Continue
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:26:17 GMT
      X-Powered-By: ASP.NET

      HTTP/1.1 200 OK
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:26:18 GMT
      X-Powered-By: ASP.NET
      Connection: close
      X-AspNet-Version: 2.0.50727
      Transfer-Encoding: chunked
      Set-Cookie: ASP.NET_SessionId=s0cv44jpc1mqia55gog1mr55; path=/; HttpOnly
      Cache-Control: private
      Content-Type: text/html; charset=utf-8

      d
      RECEIVING:YES
      0

      ***
      *** END REPLY ***
      *** REPLY ***
      *** HTTP/1.1 100 Continue
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:26:48 GMT
      X-Powered-By: ASP.NET

      HTTP/1.1 200 OK
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:26:49 GMT
      X-Powered-By: ASP.NET
      Connection: close
      X-AspNet-Version: 2.0.50727
      Transfer-Encoding: chunked
      Set-Cookie: ASP.NET_SessionId=pnqek055zzpjnu45tbmumlen; path=/; HttpOnly
      Cache-Control: private
      Content-Type: text/html; charset=utf-8

      d
      RECEIVING:YES
      0

      ***
      *** END REPLY ***
      *** REPLY ***
      *** HTTP/1.1 100 Continue
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:27:43 GMT
      X-Powered-By: ASP.NET

      HTTP/1.1 200 OK
      Server: Microsoft-IIS/5.1
      Date: Thu, 13 Dec 2007 00:27:44 GMT
      X-Powered-By: ASP.NET
      Connection: close
      X-AspNet-Version: 2.0.50727
      Transfer-Encoding: chunked
      Set-Cookie: ASP.NET_SessionId=n1ksen45mgpnmiya442rys55; path=/; HttpOnly
      Cache-Control: private
      Content-Type: text/html; charset=utf-8

      d
      RECEIVING:YES
      0

      ***
      *** END REPLY ***

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.