applet viewer, java heap space error
the image file size on the disk around 2.1 MB size on the disk, the the thumnail looks good and full size jpeg looks good; when i invoke dicom applet viewer, it takes for ever. I hve enabled trace log it might help to analyze.
the java setting, general cache size set to unlimited.
Java Plug-in 1.5.0_02
Using JRE version 1.5.0_02 Java HotSpot(TM) Client VM
basic: Registered modality listener
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@104faf8, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@141b571
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
basic: httpCompression = true
network: Connecting http://192.168.1.216/pacs/dicomviewer/applet.jar with proxy=DIRECT
network: Connecting http://192.168.1.216/pacs/dicomviewer/applet.jar with cookie "PHPSESSID=3ppvbssursgvg9ei7e3807vld5"
basic: Downloading http://192.168.1.216/pacs/dicomviewer/applet.jar to cache
basic: encoding = null for http://192.168.1.216/pacs/dicomviewer/applet.jar
basic: Cached file name: applet.jar-4c52f72-2bea1c38.zip
network: Connecting http://192.168.1.216/pacs/dicomviewer/Dicom.dic with proxy=DIRECT
network: Connecting http://192.168.1.216/pacs/dicomviewer/Dicom.dic with cookie "PHPSESSID=3ppvbssursgvg9ei7e3807vld5"
network: Connecting http://192.168.1.216/pacs/viewer.php?ui ... 3604.0.1.5 with proxy=DIRECT
network: Connecting http://192.168.1.216/pacs/viewer.php?ui ... 3604.0.1.5 with cookie "PHPSESSID=3ppvbssursgvg9ei7e3807vld5"
network: Server http://192.168.1.216/pacs/viewer.php?ui ... 3604.0.1.5 requesting to set-cookie with "PHPSESSID=3ppvbssursgvg9ei7e3807vld5; path=/"
Exception in thread "Thread-5" java.lang.OutOfMemoryError: Java heap space
the java setting, general cache size set to unlimited.
Java Plug-in 1.5.0_02
Using JRE version 1.5.0_02 Java HotSpot(TM) Client VM
basic: Registered modality listener
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@104faf8, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@141b571
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
basic: httpCompression = true
network: Connecting http://192.168.1.216/pacs/dicomviewer/applet.jar with proxy=DIRECT
network: Connecting http://192.168.1.216/pacs/dicomviewer/applet.jar with cookie "PHPSESSID=3ppvbssursgvg9ei7e3807vld5"
basic: Downloading http://192.168.1.216/pacs/dicomviewer/applet.jar to cache
basic: encoding = null for http://192.168.1.216/pacs/dicomviewer/applet.jar
basic: Cached file name: applet.jar-4c52f72-2bea1c38.zip
network: Connecting http://192.168.1.216/pacs/dicomviewer/Dicom.dic with proxy=DIRECT
network: Connecting http://192.168.1.216/pacs/dicomviewer/Dicom.dic with cookie "PHPSESSID=3ppvbssursgvg9ei7e3807vld5"
network: Connecting http://192.168.1.216/pacs/viewer.php?ui ... 3604.0.1.5 with proxy=DIRECT
network: Connecting http://192.168.1.216/pacs/viewer.php?ui ... 3604.0.1.5 with cookie "PHPSESSID=3ppvbssursgvg9ei7e3807vld5"
network: Server http://192.168.1.216/pacs/viewer.php?ui ... 3604.0.1.5 requesting to set-cookie with "PHPSESSID=3ppvbssursgvg9ei7e3807vld5; path=/"
Exception in thread "Thread-5" java.lang.OutOfMemoryError: Java heap space
I have got another error also
network: Server http://192.168.1.216/pacs/viewer.php?ui ... 205.0.1.11 requesting to set-cookie with "PHPSESSID=u6jlrcrmrbr2ut2q563unu76c5; path=/"
Exception in thread "Thread-5" java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at dicomviewer.DicomFile.load(DicomFile.java:224)
at dicomviewer.Viewer.postData(viewer.java:687)
at dicomviewer.LoaderThread.run(LoaderThread.java:56)
thanks,
Bob
Exception in thread "Thread-5" java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at dicomviewer.DicomFile.load(DicomFile.java:224)
at dicomviewer.Viewer.postData(viewer.java:687)
at dicomviewer.LoaderThread.run(LoaderThread.java:56)
thanks,
Bob
Re: I have got another error also
The exception above suggests that this is a bug in the Java applet viewer (array index out of bound), so we'd need a sample image to reproduce this bug, or you can fix it yourself since the applet is open-source and the java source codes are included in the package (applet.zip).bobreaman wrote: Exception in thread "Thread-5" java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at dicomviewer.DicomFile.load(DicomFile.java:224)
at dicomviewer.Viewer.postData(viewer.java:687)
at dicomviewer.LoaderThread.run(LoaderThread.java:56)
If you want us to look into this bug, please send a sample image in a zip file to mailto:pacsone@pacsone.net. (You can anonymize the patient information if you're concerned about privacy)
stop sign image in thumpnail list
what is meaning of the stop sign in thumnail list... is that image format is not supported ?
i will send you some sample images in zip format
Thanks,
Bob
i will send you some sample images in zip format
Thanks,
Bob
Re: stop sign image in thumpnail list
Yes, if the image is received by PacsOne but you saw a STOP sign in the thumbnail list, that means ImageMagick could not display it probably because the image format is not yet supported.bobreaman wrote:what is meaning of the stop sign in thumnail list... is that image format is not supported ?
Was this issue resolved. I have valid images and thumnails. But, I also am seeing similar problems.
Exception in thread "Thread-5" java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at dicomviewer.DicomFile.load(DicomFile.java:224)
at dicomviewer.Viewer.postData(viewer.java:687)
at dicomviewer.LoaderThread.run(LoaderThread.java:56)
Is this of help?
The files in this are spoofed(xrays not used for medical purposes).
http://www.delpyinc.com/pacsone/pacsone.php
user:temp
pass:temp
users are wellcome to look at my server. Maybe even help me troubleshoot the problem at hand?????
http://www.delpyinc.com/pacsone/pacsone.php
user:temp
pass:temp
users are wellcome to look at my server. Maybe even help me troubleshoot the problem at hand?????
Re: Is this of help?
I cannot access the system or did you disable it already?wdc1160 wrote:The files in this are spoofed(xrays not used for medical purposes).
http://www.delpyinc.com/pacsone/pacsone.php
user:temp
pass:temp
users are wellcome to look at my server. Maybe even help me troubleshoot the problem at hand?????
If this is also your clinical system I would be very carefull exposing it to the WWW because of security and confidentiallity issues.
Server Access
Jon, As the previous post indicated medical X-rays are not being used. They are real X-rays, however, they are my coworkers and I just xraying one another for fun. Nothing like radiating one another for fun. Also the tags are inaccurate, with the exeception of what equipment it originated from.
Also, the server is up. I have remotely accessed it numerous times. However, I have had people tell me they are having trouble. Please don't hessitate give feedback regarding problems.
Also, the server is up. I have remotely accessed it numerous times. However, I have had people tell me they are having trouble. Please don't hessitate give feedback regarding problems.
access problems
Apparently the trouble accessing the server stems from IE security. If you have difficulty logging in, please adjust security appropriately
After some investigation with a sample image, it turned out the "OutOfMemory" errors from the Java applet were valid because the uncompressed image size is 2544 x 2048 16-bit NM images, and the default maximum allocated memory for a Java applet is 64M.
After increasing the maximum allocated memory (-Xmx parameter) for the browser Java VM to 128M, the image was displayed properly although you'd need at least 21" or larger display monitor to have a meaningful view of the image because of the huge size.
To increase the maximum allocated memory for the browser Java VM, say 128M, open the Java Plug-in Control Panel from the lower-right corner of the Windows Task Bar, or run 'jpicpl32.exe' from the directory where the Sun Java VM is installed, e.g.,
"C:\Program Files\Java\j2re1.4.2_03\bin"
select the Advanced tab and enter the following parameter for the Java Runtime Parameters field:
-Xmx128m
After applying the above change, you may need to restart any existing browser winow for the change to take effect.
After increasing the maximum allocated memory (-Xmx parameter) for the browser Java VM to 128M, the image was displayed properly although you'd need at least 21" or larger display monitor to have a meaningful view of the image because of the huge size.
To increase the maximum allocated memory for the browser Java VM, say 128M, open the Java Plug-in Control Panel from the lower-right corner of the Windows Task Bar, or run 'jpicpl32.exe' from the directory where the Sun Java VM is installed, e.g.,
"C:\Program Files\Java\j2re1.4.2_03\bin"
select the Advanced tab and enter the following parameter for the Java Runtime Parameters field:
-Xmx128m
After applying the above change, you may need to restart any existing browser winow for the change to take effect.
I've made adjustments to my parameters through the Java control panel, using the Java tab and selecting Java Applet Runtime Settings, then entering the adjustments in the "Java Runtime Parameters" box, but still no avail. I've tried -xmx128m, -xmx256m, and -xmx512m.
After make the changes I still get nothing to load with Java.
Any suggestions?
After make the changes I still get nothing to load with Java.
Any suggestions?
I have the Sun Java VM, and my "X" is capitalized in the Java Runtime Parameter entry, but Java still won't load.
When I try and open it all I get is the Java logo in the center of the screen, the red progress bar shows full progress, and the extenstions on the star behind the Java logo continues to light up and rotate around the logo symbolizing it's still "thinking".
Any other suggestions?
When I try and open it all I get is the Java logo in the center of the screen, the red progress bar shows full progress, and the extenstions on the star behind the Java logo continues to light up and rotate around the logo symbolizing it's still "thinking".
Any other suggestions?