Faq getting out of memory errors when using preprocessing in GUI
I am getting out of memory errors when using preprocessing in Analysis GUI - how do I analyze this data within the GUI?
Some data will be too large for PLS_Toolbox or Solo to analyze. However, there are some tricks which will make it more feasible. First, see the FAQ item I keep getting "out of memory" errors when analyzing my data. What can I do?.
Next, one common problem happens when using preprocessing in Analysis GUI. Preprocessing requires that Analysis GUI make an copy of your entire data set (it always saves the original data since some preprocessing methods are non-reversible). The steps below outline a method to preprocess your data beforehand, and free up the memory used to store the original data (these steps assume you are using Version 5.x of Solo or PLS_Toolbox).
- Load your original raw data into Analysis as the X-block
- Choose preprocessing: Click on the (P) next to the X-block and choose which method(s) you want to use (or use the Preprocessing menu, choosing X-block and the appropriate sub-item)
- Save the preprocessed data: In the File menu, choose Save Data → Calibration → Save Preprocessed X-block Data.
- Choose to save the data to the workspace with some name (you could also save to the disk - just know you must load back from the disk in step (7) below)
- Clear data from Analysis: In the File menu, choose Clear → All
- Clear your original data from the workspace (NOTE: If you loaded the data directly into Analysis from a file, there will be no copy of the data in the workspace and you can skip this step) :
PLS_Toolbox Users: At the matlab command line, clear the variable which holds your original raw (non-preprocessed) data:
Solo Users: Select "Workspace Browser" from the Fig Browser menu. In the workspace browser, select the variable which holds your original raw (non-preprocessed) data and press the "delete" key.
This will free the memory which holds your original data.
- Load the preprocessed data: in the Analysis GUI, load the PREPROCESSED data into X
- Set the preprocessing to be NONE (see step (2) ) - clear all items from the list.
- Apply analysis method of choice to the data
Still having problems? Please contact our helpdesk at firstname.lastname@example.org