I seem to have found a solution on the
official forum, go down to the fourth post, it worked for me any.
I wanted to see if it work and not cause any problems before I suggested it here. So I waited a week after making the change before posting about it here. If it didn't work or caused problems I didn't want to bring others down with me.
During this week I haven't had another error 12 and no other problems have resulted.
The change I made was for Windows 7 32 bit and 4 GB ram so I can't comment for the XP version.
To have it handy I'll add it here also.
1) 32-bit Operating Systems
If you have a 32-bit version of Windows, and additional step is required in order for The Sims 3 to use more than 2 GiB of virtual memory. You must have at least 3 GiB of RAM installed in your system before taking these steps.
For Windows Vista, Windows 7, Server 2008
Open the Command Prompt with administrative rights.
Open Start.
Open Programs.
Open Acessories.
Right-click on Command Prompt and select Run as Administrator.
Type the following and hit enter:
If you have 3 GiB of RAM installed: bcdedit /set IncreaseUserVA 2560
If you have 4 GiB of RAM installed: bcdedit /set IncreaseUserVA 3072
Close the command prompt and restart your computer.
If you have XP, here are the MTS instructions:
Windows XP, Server 2003
Open System Properties.
Right-click on My Computer and select Properties.
Select the Advanced tab.
In the Startup and Recovery area, click Settings to open the Startup and Recovery dialog.
In the System Startup area, click Edit to open the Windows boot.ini in Notepad.
Make sure to disable Word Wrap from the Format menu (you do not want a check to appear next to it).
Find the [Operating Systems] section. Each line below this header represents an operating system installed on your computer.
At the end of each line under [Operating Systems] add the following after /fastdetect (or whatever is at the end of the line):
If you have 3 GiB of RAM installed: /3GB /userva=2560
If you have 4 GiB of RAM installed: /3GB
To undo the changes for Window 7
Right-click on Command Prompt in the Accessories program group of the Start menu. Click Run as Administrator.
At the command prompt, enter "bcdedit /deletevalue IncreaseUserVa
"
Restart the computer.