Error has occurred where Veras integrates with dotNet

Hi, I’ve encountered this following message under the error description:

sync model error: Exception of type ‘System.OutOfMemoryException’ was thrown., location: at System.Text.StringBuilder.ToString() at System.IO.File.ReadAllText(String path, Encoding encoding) at EvolveLAB.Veras.UI2.UI.WebUiPage.<>c__DisplayClass46_0.<b__0>d.MoveNext()

What might be the issue?

Hi @Daugis ,

Thank you for posting your question here. The “OutOfMemoryException” makes me think the model you’re hoping to sync is rather large in file size–especially since I haven’t seen this error reported. But that doesn’t mean we couldn’t be more memory-efficient when performing this operation.

After looking into the issue, it looks like there might be some optimizations we could take advantage of so that a model like the one you’re working on successfully syncs to Veras.

We will set out to improve this, but if you don’t mind answering a couple follow-up questions, it will help us to ensure this is the issue we think it is, and also help us gauge the extent to which we need to optimize.

Do you have a revitModel.mtl and revitModel.obj file located at this folder path: “C:\Users\<user>\AppData\Roaming\EvolveLabVeras\cache”?

If so, what are the Sizes of the files?

Lastly, does your machine have a decent amount of RAM?

Best,

Gregory Ryan

Hi,
there is only revitModel.obj file, which is 111MB

RAM size currently is 32GB

1 Like

I am getting this same issue with Rhino 8. The model isn’t that large, 120mb.

In my appdata\roaming\evolvelabveras\cache folder I have both “rhinomodel.mtl” which is 1kb and “rhinoModel.obj” which is 2,519,182kb

Ram size is 64gb

Please advise.