PURPOSE: A method for managing a memory of a mobile server using a shared library is provided to commonly use a business transaction logic library of a mobile server for processing transactions of mobile clients processing the same business, thereby reducing an amount of a memory where the library is loaded. CONSTITUTION: When a mobile server receives an access request from a mobile client(S310), the mobile server generates a client response thread for the mobile client(S320). The client response thread analyzes a header of a packet transmitted from the mobile client, compares the header with packet version information, and checks availability of the packet and the mobile client with user accounts(S330). If the header is related to a service start request(S340), the mobile server checks whether a shared library of a service is loaded into a memory(S350). If so, the mobile server increases the number of users using the shared library by 1 (S360), and sets the number of the users to 1(S380). The client response thread transmits a session order handle value informing the mobile client that an access to the mobile server is terminated(S390).
展开▼