High Memory Usage when Change Application Pool to 64 Bit

Sadrak Gunadi 11 Reputation points
2021-10-15T01:06:05.323+00:00

Hi,

When tried to change IIS application pool to 64 bit (Enable 32-Bit Applications = false), memory usage keep increase day by day and to prevent out of memory exception then we tried to recycle application pool. Any advice for my current case and how to prevent this high memory usage ? Is it normal ?

Thanks in advance.

Internet Information Services
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sam Wu-MSFT 7,036 Reputation points Microsoft Vendor
    2021-10-18T02:18:53.047+00:00

    @Sadrak Gunadi

    The initial memory allocation for a 64 bit process is much higher than it would be for an equivalent 32 bit process, you can refer to this link about why the memory usage of 64 Bit is higher: Are 64 bit programs bigger and faster than 32 bit versions?

    If you want to prevent the use of high memory, you must first find out the reason for the high memory, first you can check the amount of RAM available, If most of the RAM is not being used, your application pool may be limited to a small amount of memory . You can increase this amount by opening the IIS manager (start->run->inetmgr), expanding the server node on the left pane, clicking on "Application Pools", right clicking on the application pool running your application, selecting "Advanced Settings", and changing the Private Memory Limit and Virtual Memory Limit in the recycling section.

    If this can't solve the problem, you need to use some tools to analyze the high memory usage, such as using Performance Monitor to collect data, using DebugDiag to collect user-mode process dumps and then data analysis. this is a very complicated process, you can also contact technical support.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.