Hacker News new | ask | show | jobs
by aardvarkr 1870 days ago
Sounds like this is a personal problem and not a them problem. They’re sending you a json and you’re complaining that your memory usage is exploding. That’s on you. If you’re not actively cleaning up after yourself idk how you can blame the external api for your internal memory issues. That’s my two cents at least. You can’t possibly design an api that fixes a user’s poor design.
1 comments

Hi, I have updated it with some additional stackoverflow links, you can see many people have struggled with similar issues over time.
Bad design is endemic. Just because other people made the same mistake as you doesn’t mean it’s the only option.

Think about it. They’re sending you data. You’re processing that data. If you don’t delete that data then it’s going to persist especially if you don’t do anything about it. Here’s a suggestion - do something about it! Clear unnecessary data immediately after it’s not needed so you don’t have to rely on python/django’s crappy garbage collection.