Just open a command prompt (cmd.exe) and type:

Code:
SET DPMIMEM=MAXMEM 10000
Do this before starting BP.

From the comments it looks like it is only the IDE that use this setting. Have you tried to compile an exe-file of your program and run it after exiting the IDE?