Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Noufal123  
#1 Posted : Tuesday, December 20, 2011 3:52:17 AM(UTC)
Noufal123

Rank: Advanced Member

Groups: Member
Joined: 3/29/2010(UTC)
Posts: 81

Thanks: 10 times
Hello..
I am using C# with powerpoint (addin ) , aurigmaGrahicmills 5.5 to develop project..and using bitmapviewer and load images in loading time..
when i reload the form more times it shows the Exception like follows:


Unable to commit memory

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
Aurigma.GraphicsMill.UnexpectedException: Unable to commit memory.
at Aurigma.GraphicsMill.Bitmap._Create(Int32 width, Int32 height, PixelFormat format, Color background)
at Aurigma.GraphicsMill.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at Aurigma.GraphicsMill.WinControls.BitmapViewer.UpdateCanvas()
at Aurigma.GraphicsMill.WinControls.BitmapViewer.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds()
at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at Aurigma.GraphicsMill.WinControls.BitmapViewer.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


how can i solve this exception..please help me soon..

Edited by user Tuesday, December 20, 2011 3:53:19 AM(UTC)  | Reason: Not specified

Dmitry.Obukhov  
#2 Posted : Wednesday, December 21, 2011 12:25:10 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups:
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello,

When you load an image to bitmap and handle it, this image is loaded to the memory. So, the image 4000x4000 (24RGB) loaded to the bitmap, takes 4000*4000*3 = 45 Mb of memory. If an image is larger or you load several images at once, it can take much more memory. In the case if you use 32-bit system, you can use only 2Gb of memory for your applications. Sometimes, this memory is not enough to handle loaded images and run other applications. Thus you get the “Unable to commit memory” error. To resolve the problem, you need to use 64-bit system with 64-bit Graphics Mill.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
thanks 1 user thanked Dmitry.Obukhov for this useful post.
Noufal123 on 12/21/2011(UTC)
Users browsing this topic
Similar Topics
Unable to commit memory during Transform (Discussions – Graphics Mill)
by ChingYen 4/1/2009 8:45:19 AM(UTC)
Unable to commit memory error while resizing (Discussions – Graphics Mill)
by firamax 10/28/2007 5:49:50 AM(UTC)
Unable to commit memory. Reloaded. (Discussions – Graphics Mill)
by prokop 9/5/2007 6:02:52 PM(UTC)
Unable to commit memory loading large Jpg (Discussions – Graphics Mill)
by Todd Kneib 8/22/2007 5:03:13 AM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.