Quantcast
Channel: Recent Discussions — Mixed Reality Developer Forum
Viewing all articles
Browse latest Browse all 10543

Read a file line by line

$
0
0

Hi,

I actually design an application where the users can load points cloud in AR. It works well will small file but when I want to open larger file I've got "Out of memory" error. I Suppose it's because the Hololens can't allocate enough memory in one block. It happen for example with a file of 100Mo even if I have 1Go of RAM available.

I actually use "UnityEngine.Windows.File.ReadAllBytes(filePath);", is it possible to read the file line by line to avoid allocate lot of memory ?


Viewing all articles
Browse latest Browse all 10543

Trending Articles