[vtkusers] vtkImageData - vtkUnsignedCharArray: Unable to allocate 768951260 elements of size 1 bytes.

vacingforo vacingforo at gmail.com
Tue Jul 17 10:49:25 EDT 2018


Hello,

This is the evolution of the memory which is included in the main.cpp posted
link:
The memory change from:

There is       62 percent of memory in use to There is       93 percent of
memory in use.

Output program:

Start...
There is       62 percent of memory in use.
There are 8061184 total KB of physical memory.
There are 3050704 free  KB of physical memory.
There are 16171740 total KB of paging file.
There are 3346076 free  KB of paging file.
There are 4194176 total KB of virtual memory.
There are 4044480 free  KB of virtual memory.
There are       0 free  KB of extended memory.
There is       62 percent of memory in use.
There are 8061184 total KB of physical memory.
There are 3050404 free  KB of physical memory.
There are 16171740 total KB of paging file.
There are 3346076 free  KB of paging file.
There are 4194176 total KB of virtual memory.
There are 4044480 free  KB of virtual memory.
There are       0 free  KB of extended memory.
There is       62 percent of memory in use.
There are 8061184 total KB of physical memory.
There are 3050276 free  KB of physical memory.
There are 16171740 total KB of paging file.
There are 2598940 free  KB of paging file.
There are 4194176 total KB of virtual memory.
There are 3293492 free  KB of virtual memory.
There are       0 free  KB of extended memory.
There is       70 percent of memory in use.
There are 8061184 total KB of physical memory.
There are 2370144 free  KB of physical memory.
There are 16171740 total KB of paging file.
There are 2620368 free  KB of paging file.
There are 4194176 total KB of virtual memory.
There are 3293492 free  KB of virtual memory.
There are       0 free  KB of extended memory.
There is       84 percent of memory in use.
There are 8061184 total KB of physical memory.
There are 1241268 free  KB of physical memory.
There are 16171740 total KB of paging file.
There are 2211832 free  KB of paging file.
There are 4194176 total KB of virtual memory.
There are 3286068 free  KB of virtual memory.
There are       0 free  KB of extended memory.
There is       93 percent of memory in use.
There are 8061184 total KB of physical memory.
There are  535040 free  KB of physical memory.
There are 17240328 total KB of paging file.
There are 2555224 free  KB of paging file.
There are 4194176 total KB of virtual memory.
There are 2535072 free  KB of virtual memory.
There are       0 free  KB of extended memory.
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.



--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html


More information about the vtkusers mailing list