LINK : fatal error LNK1102: out of memory [AcceleratorsVTKm.vcxproj]

Dear Experts:

After i enable “VTK_SMP_IMPLEMENTATION_TYPE=TBB”, in debug build mode, there will have below error:
LINK : fatal error LNK1102: out of memory [VTK\Accelerators\Vtkm\AcceleratorsVTKm.vcxproj]

My Questions:

  • Why after enable TBB, then this error occurred? before enable TBB, only when i build release version, there is this error, there is no this error in debug mode.
  • How to solve this?

Thanks and Best Regards,

I believe efforts are underway to reduce memory usage when compiling VTK-m. @RobertMaynard would know more.

Yes efforts are underway.

You can disable the VTKm accelerator to remove this error in the meantime.

Thank you Cory and Robert for your reply!

Thanks and Best Regards

I am working on windows with visual studio, and finally solved this issue by changing to use 64 bit compiler.

It is blamed that visual studio use 32 bit compiler as default option, developer need explicitly set to use 64 bit compiler. There are several approaches to do so: