Sorry for the mistakes I’m making translate.google
I need to create a program that runs endlessly, it needs to query records from a postgres database and process this information.
I have a lot of data to process.
The problem is that it is consuming memory and does not release more, I tried everything I read several articles on good practices for database querying and processing with goruntines.
Has anyone ever had a similar problem? or know how I can know which part of the code is not releasing the memory correctly?