Big Graphic Causes "Restart with more memory" Loop

I was editing a document of normal size (100K) in Author mode. When I created a reference to a 2.4Meg JPG it got into what appeared to be an infinite loop of "Restart with more memory" messages, in that each time I clicked OK or cancel on the dialog another one popped up. I eventually killed the app. This is definitely a case that needs to be trapped and either the graphic not shown or downsampled to a displayable size. Cheers, Eliot -- Eliot Kimber Senior Solutions Architect "Bringing Strategy, Content, and Technology Together" Main: 610.631.6770 www.reallysi.com www.rsuitecms.com

Hi Elliot, Thanks for the valuable feedback. We will investigate this problem. Can you tell us how many files were opened in Oxygen at that time and the approximate sizes? Also, were many images displayed in them and of what sizes? Also you can go to Help->About and in the "Copyright" tab you can see the amount of memory Oxygen currently uses and the maximum allowed amount. To give more memory to Oxygen you can check out this link: http://www.oxygenxml.com/doc/ug-standalone/installation-instructions.html#se... Regards, Radu -- Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Eliot Kimber wrote:
I was editing a document of normal size (100K) in Author mode. When I created a reference to a 2.4Meg JPG it got into what appeared to be an infinite loop of "Restart with more memory" messages, in that each time I clicked OK or cancel on the dialog another one popped up. I eventually killed the app.
This is definitely a case that needs to be trapped and either the graphic not shown or downsampled to a displayable size.
Cheers,
Eliot

Radu Coravu wrote:
Hi Elliot,
Thanks for the valuable feedback. We will investigate this problem. Can you tell us how many files were opened in Oxygen at that time and the approximate sizes? Also, were many images displayed in them and of what sizes? Also you can go to Help->About and in the "Copyright" tab you can see the amount of memory Oxygen currently uses and the maximum allowed amount.
I noticed that if I open new file with Oxygen from outside Oxygen (e.g., drop file onto Oxygen icon in the Dock) that that file opens fine and I can quit the currently-open message box and then quit Oxygen. However, if I switch back to the original doc, I'm back in the message loop. Cheers, E. -- Eliot Kimber Senior Solutions Architect "Bringing Strategy, Content, and Technology Together" Main: 610.631.6770 www.reallysi.com www.rsuitecms.com

Hi Eliot, The images are loaded into memory only when they need to be presented in the visible part of the screen. Unfortunately in memory the images are not archived anymore as JPEG's so a JPEG could have a much larger memory footprint (probably equivalent to a BMP representation of it on disk). What we fixed is that if the image fails to be loaded in the memory the dialog does no longer pop-up and instead of the image an error message is seen in the Author view (just like when you have an invalid path to the image and it cannot be found). The errors loop occurs now because the error dialog gets presented and when you cancel it the image is again in the visible part of the screen and another image reload is performed which fails in the same manner. That's why after you open a new editor by Drag and Drop the image is not in the visible part of the screen anymore so it will not be loaded anymore. Can you tell us the resolution of the JPEG image and the color depth? We'll try to approximate the footprint it may have in memory. As a workaround you can increase the memory amount given to Oxygen from the link I posted in the previous mail: http://www.oxygenxml.com/doc/ug-standalone/installation-instructions.html#se... Regards, Radu -- Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Eliot Kimber wrote:
I noticed that if I open new file with Oxygen from outside Oxygen (e.g., drop file onto Oxygen icon in the Dock) that that file opens fine and I can quit the currently-open message box and then quit Oxygen. However, if I switch back to the original doc, I'm back in the message loop.
Cheers,
E.
participants (2)
-
Eliot Kimber
-
Radu Coravu