Matlab is not utilizing full Memory capacity in Windows server
이전 댓글 표시
Hi,
I am trying to merge almost 510 .csv file (more than 40 GB of data) in a windows server. But it is utilizing only 7% of CPU and 17% of Memory. I have talked with the administrator, there is no user limitation in this case.
Server specification: Intel Xeon 2 GHz (16 Core) and 96 GB RAM capacity.
Any solution?
Thank you in advance.
/Kazi
댓글 수: 5
Walter Roberson
2020년 1월 24일
How are you doing the merging?
Do the csv files each have a 1 line header that should be removed (except for at the very beginning) ?
Kazi Main Uddin Ahmed
2020년 1월 24일
Walter Roberson
2020년 1월 24일
How are you doing the merging? Are your csv pure numeric?
I cannot think of any backend java program that might be involved in merging csv files.
Perhaps you should just generate a command that would be like
system('copy F1.csv+F2.csv+F3.csv+F4.csv.....+R510.csv DestinationFile.csv')
Mohammad Sami
2020년 1월 25일
If you want to load the data into Matlab, try using fread instead of readtable. you can then just concatenate the char arrays. use textscan for conversion.
Andrew Janke
2020년 1월 31일
That sounds normal. Most Matlab stuff that doesn't call down into BLAS/LAPACK is single-threaded. And when you're reading CSV files, it'll do the reading incrementally. And as it reads the CSV data and converts the strings into numeric values, the in-memory representation of the data may be more compact than the size of those files on disk.
Is it not working? Are you trying to make it go faster?
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Enterprise Deployment with MATLAB Production Server에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!