I setup Debian guest on my kubuntu host. For allocating machines 2Gb memory! After installing and running the system, "top" shows 906788 Kb What problem?
You have to install another kernel in your guest. The option HIGHMEM4GB must be set in the kernel config of your guest. But make sure to NOT use a kernel with HIGHMEM64G set because this kernel would use the PAE mode which is not yet supported by VirtualBox.
It is most likely that you did something wrong. If your guest Linux kernel has the HIGHMEM4GB option set it will definitely recognize more than 1GB RAM. Please make sure that your guest boots the right kernel image (check in the boot menu and check with 'uname -a'). Then look into the corresponding configuration file in /boot/config-*.