For WEKA usage, you will have to manually change the memory settings for the program. Use the following steps:
1. Get the file path to your WEKA program, specifically a file called WEKA.JAR (for me this was located in the following directory: C:\Program Files\Weka-3-6)
2. Open your command prompt and change directories to the directory of your WEKA.JAR file.
3. Once you are in that directory, use the following command: java -Xmx2g -classpath weka.jar weka.gui.GUIChooser
4. Once you hit enter after entering the above command, WEKA will open up the GUI and from there you can start doing your data work. Be aware that this only lasts as long as the session, once you close WEKA, it will revert back to normal, meaning that
anytime you want to use WEKA on a large dataset you will have to run this command.
Note: In this example, I set the java memory size to 2 gigs. You can see this in the -Xmx2g part of the command, the 2g means 2 gigs. If you want 128M just type 128m instead....etc etc.....If you have more questions try this link: