Forum archive
Setting swap partition size
I have a TKLDev TurnKey appliance tailored for an installation of Oracle XE 11g. Oracle has swap space requirement:
Minimum swap space required for Oracle Database XE is 2 GB or twice the size of RAM, whichever is lesser.
How do I can set the swap partition size for the appliance ? Currently with debian it looks like there is rules how swap size depends on RAM. As I can probably run the appliance with less memory than 2 GB I'd like to set the swap partition size explicitly to the required minimum value.
I have googled and read e.g.
Newb Q: where is the swap partition, and how do i make it bigger
change disk size on project pier virtual applance
but I'm a bit lost at the moment.
And TBH I'm not sure what the default is for TKL.
If you want to have your appliance default to 2GB at install then you'll have to dig into the installer logic... TKL uses a modified version of di-live to install but TBH I wouldn't know where to start to modify that to do what you want...