Comments (4)
Hello,
The memory footprint, if used for a configuration file for instance, is not big. But indeed, the memory is never freed in the code here.
There are two options:
- As only "allocatable" arrays are used, if you don't have a
dictionary_m
variable in the main program but in a subroutine it should be cleaned automatically. - Add code to deallocate all
buckets(*)%entries
and thenbuckets
explicitly. I can do that if you are interested.
from fortran_hash_table.
thansk for your reply!
In my business, it needs to be remained in memory. I just want to learn about the code. And in my mind of clang, there will be a deallocate operation. I will be appreciate if you can make it when you are available!
from fortran_hash_table.
Hello @bryanhan1001 as I mentioned, if you keep the object in scope it will remain in memory. Could you provide a skeleton example of what you try to achieve?
from fortran_hash_table.
sorry,I am new to fortran. so i want to know how to deallocate the hash map here
from fortran_hash_table.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fortran_hash_table.