You could also check the amount of memory detected and how much is used/free by running the following command:
The output will show you (in megabytes) how much RAM is available, used, and free. That will help you determine if all of your available RAM is detected. Since you only have 1GB to deal with, I suspect all of it is available to the system.
You may have something eating up all of your available memory. A quick way to see what is using the most RAM at a given moment is to start "top" (from the command line) and then press the "M" key (upper-case) to sort the output by memory usage. You can also sort the output by CPU usage by pressing the "P" key (upper-case).
While you're in top, it also displays all available/free/used RAM in the output.
Hope this helps