<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getPurchasedServerMaxRam](./bitburner.ns.getpurchasedservermaxram.md) ## NS.getPurchasedServerMaxRam() method Returns the maximum RAM that a purchased server can have. <b>Signature:</b> ```typescript getPurchasedServerMaxRam(): number; ``` <b>Returns:</b> number Returns the maximum RAM (in GB) that a purchased server can have. ## Remarks RAM cost: 0.05 GB