Pass this to the kernel:

mem=xxxM

replace 'xxx' with your amout of memory (in megabytes not gigabytes) and be sure to use a capital M.

e.g. if you have 512 MB ram then type this on the command line:

knoppix mem=512M