From 2cf1ae9cd9f80dba5d7ca7eb5a34c65b0bd0e01e Mon Sep 17 00:00:00 2001 From: Emmanuelle Vargas-Gonzalez Date: Wed, 13 Jun 2018 15:04:41 -0400 Subject: [PATCH 1/2] Add FAQ section to python-cybox. closes #317 --- docs/index.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/index.rst b/docs/index.rst index 82be61c8..2dc01afd 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -54,6 +54,17 @@ API Reference api/coverage +FAQ +=== + +- My RAM consumption rises when processing a large amount of files. + This is a known behavior caused the caching mechanism built into the + :class:`cybox.core.object.Object` class. To prevent this issue from happening + use the :class:`cybox.utils.caches.cache_clear` method in your code/script to + release the cached resources as appropriate. For example, it could be every + time you parse or serialize a document. + + Indices and tables ================== From 66c3606aa32934f58c98f71c44ef3381aeefd5f3 Mon Sep 17 00:00:00 2001 From: Emmanuelle Vargas-Gonzalez Date: Wed, 13 Jun 2018 15:05:23 -0400 Subject: [PATCH 2/2] Add .pytest_cache/ to gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 5f315780..5dea573c 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ dist/ .tox .idea .idea/ +.pytest_cache/ docs/_build .cache