2GB 内存笔记本电脑和 32 位应用程序开发

2gb memory laptop and 32bit application development

我想在 2 GB 笔记本电脑上开发 32 位 windows 应用程序。

在这种情况下,有没有办法可以使用其他内存(例如辅助内存或存储卡)作为我的虚拟内存来充当主内存?

IDE 开发是 Visual studio.

提前致谢。

如果您无法将另一张 RAM 卡插入您的笔记本电脑,那么您唯一能做的就是增加 Virtual Memory. In windows there is this official guide:

的大小

Open System by clicking the Start button Picture of the Start button, right-clicking Computer, and then clicking Properties.

In the left pane, click Advanced system settings. Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

On the Advanced tab, under Performance, click Settings.

Click the Advanced tab, and then, under Virtual memory, click Change.

Clear the Automatically manage paging file size for all drives check box.

Under Drive [Volume Label], click the drive that contains the paging file you want to change.

Click Custom size, type a new size in megabytes in the Initial size (MB) or Maximum size (MB) box, click Set, and then click OK.

您的应用不直接使用内存。它使用 virtual memory。在 32 位 Windows 上,您的应用的地址 space 默认为 2 GB,如果您将其配置为大地址感知,则为 3 GB。

Windows 将根据需要将应用程序的内存映射到实际内存页面。