Tag Archives: virtual memory

Adding 3GB to Boot.ini Windows 2008

Problem:

In Windows Server 2003, to increase the memory allocated the applications, we usually modify the boot.ini and add /3GB. However, there is not boot.ini in Windows 2008. How can more memory be allocated to user’s applications?

Solution:

Use the BCDEDIT command.

Read more »

ORA-27300: OS system dependent operation:CreateThread failed with status: 8

Problem:

On Windows 2008, the R12.1 instance has become flaky, not allowing connections and responding slowly.

Solution:

Tweak the IRPStackSize registry parameter, or change the memory allocated to user processes using the BCDEDIT Windows command.

Read more »

Creating additional Linux swapfile

Problem:

After installing Linux in a virtual machine, the memory is increased from 512MB to 1536MB. The swap file must be increased as well, but there is no additional hard drive space or partitions to increase the swap partition.

Solution:

Create a new swap file:

1. As the root user, create a 3072MB swap file (block size=1024 bytes, count=1024*3072 blocks):

dd if=/dev/zero of=/swapfile1 bs=1024 count=3145728

2. Create swap file in swapfile1:

mkswap /swapfile1

3. Set file permissions for swapfile1:

chmod 0600 /swapfile1

4. Turn on swapfile:

swapon /swapfile1

5. Add swapfile to fstab:

Edit /etc/fstab and add the following line:

/swapfile1 swap swap defaults 0 0

Reference:

http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/