1. A method, comprising: loading a module of executable code in a managed execution environment; determining whether the module of executable code is intended for user interaction; and configuring memory management for the module of executable code based on the obtained information.