[Insight-users] Runtime Error in itkAntiAliasBinaryImageFilter.
Miller, James V (Research)
millerjv at crd.ge.com
Wed Jun 15 08:45:25 EDT 2005
Unless you are running the server editions of Windows, a single process
can only address around 1 GB of memory. This is regardless of how much
physical or virtual memory you have.
Reportedly, if you have the server editions of Windows, you can change
a few settings to allow a single process to address around 2GB.
For stock linux distributions, I think the limit is around 3GB.
You may be able to reduce the amount of memory your application is using
by making use of the ReleaseDataFlag on upstream filters. You could also
change the pixel type you are operating on (if your are using double, try
float).
Some ITK filters can stream data which reduces the amount of memory a
process needs. But the AnitAliasBinaryImageFilter is part of the
finite difference framework which requires all the data.
Jim
-----Original Message-----
From: insight-users-bounces+millerjv=crd.ge.com at itk.org
[mailto:insight-users-bounces+millerjv=crd.ge.com at itk.org]On Behalf Of
Michal Postrozny
Sent: Wednesday, June 15, 2005 5:18 AM
To: insight-users at itk.org
Subject: [Insight-users] Runtime Error in itkAntiAliasBinaryImageFilter.
Hello!
While running itkAntiAliasBinaryImageFilter I'm getting error:
itk::ExceptionObject (0146EE64)
Location: "ImportImageContainer::AllocateElements"
File: D:\Builds\ITK\Source\Code\Common\itkImportImageContainer.txx
Line: 186
Description: Failed to allocate memory for image.
I'm getting this error only, when using larger datasets and when
Windows XP wirtual memory usage gets close to 1000 MB. Still there is
3000 MB virtual memory declared.
Thanks in advance
Michal Postrozny
_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list