rlaehgns5399 / 2DTile

When the shape is given, I want to know which tile this shape belongs to.
0 stars 0 forks source link

Out of memory issue #1

Closed rlaehgns5399 closed 5 years ago

rlaehgns5399 commented 5 years ago

i tested about only a few examples, someone can warn about Out Of Memory when it handles over 1M+ data.

I'm planning to change current method of operation.

I used a lot of collections like hashSet, but I think it is not collected by GC always. I have to optimize this program and select what is collected or not

https://usroom.tistory.com/entry/%ED%9A%A8%EA%B3%BC%EC%A0%81%EC%9D%B8-C-%EB%A9%94%EB%AA%A8%EB%A6%AC-%EA%B4%80%EB%A6%AC-%EA%B8%B0%EB%B2%95

rlaehgns5399 commented 5 years ago

new request is like this: "how about working at level by level?"

before: Search all folder that is having .xdo, and then do process folder by folder

but i think if there are uncountable folders, it occurs OOM when it makes list.

rlaehgns5399 commented 5 years ago

I solved this issue.