There is no direct relation between WRL file size and the amount of memory
needed to process that file. It is not possible to determine how much memory a VRML world needs without seeing its WRL file.
As a workaround, either of the following steps could be implemented:
1) To have more memory available, use a 64-bit version of MATLAB and VR Toolbox (either on Linux or on Windows).
2) A more preferable alternative is to tweak the parameters of Catia VRML export to obtain a much simpler VRML file. Tools like Catia often tend to export in great level of detail that is not even renderable, and reducing the complexity significantly reduces memory requirements while losing very little rendering quality.
Best Answer