vkostyukov / la4j

Linear Algebra for Java
http://la4j.org
Apache License 2.0
371 stars 109 forks source link

Loading Big files using fromMatrixMarket (Memory Performance) #296

Closed LsKoder closed 5 years ago

LsKoder commented 6 years ago

I'm trying to load big matrix as https://sparse.tamu.edu/Janna/Flan_1565

Actually, it's necessary to read entire file on memory (several GBs) and pass it as string argument to fromMatrixMarket() function.

It could be better to pass the file path, proceeding to read file row by row (improving memory usage).

vkostyukov commented 5 years ago

Hey @LsKoder! Thanks for the issue! Any chance you want to work on a fix?

vkostyukov commented 5 years ago

Fixed in #297.