# Memory usage FolderData.open

**URL:** <https://aiida.discourse.group/t/memory-usage-folderdata-open/524>\
**Category:** General Usage\
**Created:** [January 14, 2025, 2:23pm UTC](https://aiida.discourse.group/t/memory-usage-folderdata-open/524 "2025-01-14T14:23:24Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![giovannipizzi](https://yyz2.discourse-cdn.com/free1/user_avatar/aiida.discourse.group/giovannipizzi/32/17_2.png) [@giovannipizzi](https://aiida.discourse.group/u/giovannipizzi)\
**Post date:** [February 9, 2025, 9:20pm UTC](https://aiida.discourse.group/t/memory-usage-folderdata-open/524/21 "2025-02-09T21:20:32Z")

</div>

It’s probably OK, but I’m a bit worried that we inadvertently proxy also attributes that we shouldn’t directly expose. Also, I thin that in this way those methods are not visible with `dir(...)`. Therefore, I would probably prefer to proxy all those we need on both classes explicitly, one by one, if that’s OK

---

<div class="post-metadata">

**Author:** ![ahkole](https://yyz2.discourse-cdn.com/free1/user_avatar/aiida.discourse.group/ahkole/32/256_2.png) [@ahkole](https://aiida.discourse.group/u/ahkole)\
**Post date:** [February 10, 2025, 11:14am UTC](https://aiida.discourse.group/t/memory-usage-folderdata-open/524/22 "2025-02-10T11:14:57Z")

</div>

Okay, fair enough. I should have a list of attributes which are needed and will only expose those

---

<div class="post-metadata">

**Author:** ![ahkole](https://yyz2.discourse-cdn.com/free1/user_avatar/aiida.discourse.group/ahkole/32/256_2.png) [@ahkole](https://aiida.discourse.group/u/ahkole)\
**Post date:** [April 30, 2025, 2:04pm UTC](https://aiida.discourse.group/t/memory-usage-folderdata-open/524/23 "2025-04-30T14:04:06Z")

</div>

@ali-khosravi Apologies for the significant delay. This got sidetracked a bit by other responsibilities. I have now opened two PRs, see [Add attributes to stream types needed by TextIOWrapper by ahkole · Pull Request #192 · aiidateam/disk-objectstore · GitHub](https://github.com/aiidateam/disk-objectstore/pull/192) and [Use TextIOWrapper for opening file from repository in text mode by ahkole · Pull Request #6847 · aiidateam/aiida-core · GitHub](https://github.com/aiidateam/aiida-core/pull/6847). If someone could take a look that would be much appreciated.

[Previous page](https://aiida.discourse.group/t/memory-usage-folderdata-open/524.md?page=1)
