Pointools CE crashes when exporting to POD

I have 33GB POD file with 4 billion points. There is a lot of noise around the scanned area which I wanted to remove using Pointools. I created a new project and attached the POD file. Took me a while to delete all the unwanted points and now I am trying to export it to a new POD file. Unfortunately every time I try this the program crashes during "Writing Data to POD File" stage. When Pointools is gathering data for POD files it starts filling RAM until it reaches about 28GB (the rest of 32GB is used by OS and other programs). It hangs for several minutes and the status changes to "Writing Data to POD File". From this moment Pointools starts releasing some RAM but after a few minutes it crashes with a standard Windows error message "Bentley Pointools has stopped working". Before the crash C drive usage jumps to 100%.

Log from Events Viewer:

Faulting application name: BentleyPointools.exe, version:, time stamp: 0x5c075667
Faulting module name: ntdll.dll, version: 10.0.15063.1805, time stamp: 0xdd82ca1d
Exception code: 0xc0000374
Fault offset: 0x00000000000f75df
Faulting process id: 0xe240
Faulting application start time: 0x01d59bb44ac5c544
Faulting application path: C:\Program Files\Bentley\Bentley Pointools CONNECT Edition\BentleyPointools.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: a26fd92e-92d0-47d0-a9d7-7e4adeb1c074
Faulting package full name:
Faulting package-relative application ID:

Screenshot taken a few moments before crash.

My PC is HP ZBook 17 G5

I have about 500GB free space on C drive and 700GB on D drive (where I try to save the new POD file).

Pointools version

After two first crashes I moved caching location to D drive (SSD) and changed max cache size to 50Gb but Pointools does not use more than 130MB.

Any idea how to fix it?