jantman / awslimitchecker

A script and python package to check your AWS service limits and usage via boto3.
http://awslimitchecker.readthedocs.org/
GNU Affero General Public License v3.0
515 stars 189 forks source link

High memory usage #493

Open varuzam opened 3 years ago

varuzam commented 3 years ago

Bug Report

awslimitchecker uses ~115MB RAM at a peak. it is not a big issue. But it is subject to optimize. I noticed that memory usage is growing during run from ~25MB upto 115MB.

Version

I have checked only >= 8

Installation Method

does not matter

jantman commented 3 years ago

I'll gladly accept PRs that either improve the memory utilization or add memory profiling to the test suite. I definitely know that the code is not at all optimized for memory usage, and probably keeps a lot of data around longer than it's needed. But from my point of view, 115MB of memory usage isn't concerning to me.

Please also note that this is almost entirely dependent on the number of resources in your account.