Skip to content

Max memory must be at least 8 * Bloomfilter size in bytes #68

Description

@rica01

Hello everyone. I am looking forward to try BIGSI, but I came up with this error while trying to build the bloom filters:

(sepsis_py_venv) (base) 
15:33:51 || ~/sepsis/BIGSI/config
[ricardo@bart]$ ls -lisah
total 508K
41563339  17K drwxrwxr-x 2 ricardo ricardo    7 Aug 13 15:11 .
41496240  17K drwxrwxr-x 9 ricardo ricardo   24 Aug 13 12:29 ..
41563342 8.5K -rw-rw-r-- 1 ricardo ricardo  179 Aug 13 12:30 bdb.yaml
41568979 8.5K -rw-rw-r-- 1 ricardo ricardo 1.4K Aug 13 15:11 test1.ctx
41568980 8.5K -rw-rw-r-- 1 ricardo ricardo 1.4K Aug 13 15:11 test2.ctx
(sepsis_py_venv) (base) 
15:33:56 || ~/sepsis/BIGSI/config
[ricardo@bart]$ bigsi build --config ./bdb.yaml bloom ./test1.ctx  ./test1.bloom
Traceback (most recent call last):
  File "//mnt/compgen/homes/ricardo/sepsis/sepsis_py_venv/bin/bigsi", line 8, in <module>
    sys.exit(main())
  File "/mnt/compgen/homes/ricardo/sepsis/sepsis_py_venv/lib/python3.6/site-packages/bigsi/__main__.py", line 324, in main
    API.cli()
  File "/mnt/compgen/homes/ricardo/sepsis/sepsis_py_venv/lib/python3.6/site-packages/hug/api.py", line 441, in __call__
    result = self.commands.get(command)()
  File "/mnt/compgen/homes/ricardo/sepsis/sepsis_py_venv/lib/python3.6/site-packages/hug/interface.py", line 650, in __call__
    raise exception
  File "/mnt/compgen/homes/ricardo/sepsis/sepsis_py_venv/lib/python3.6/site-packages/hug/interface.py", line 646, in __call__
    result = self.output(self.interface(**pass_to_function), context)
  File "/mnt/compgen/homes/ricardo/sepsis/sepsis_py_venv/lib/python3.6/site-packages/hug/interface.py", line 129, in __call__
    return __hug_internal_self._function(*args, **kwargs)
  File "/mnt/compgen/homes/ricardo/sepsis/sepsis_py_venv/lib/python3.6/site-packages/bigsi/__main__.py", line 170, in build
    max_memory=max_memory_bytes,
  File "/mnt/compgen/homes/ricardo/sepsis/sepsis_py_venv/lib/python3.6/site-packages/bigsi/cmds/build.py", line 53, in build
    raise ValueError("Max memory must be at least 8 * Bloomfilter size in bytes")
ValueError: Max memory must be at least 8 * Bloomfilter size in bytes
(sepsis_py_venv) (base) 

I am running on a machine with 256 GB of RAM so, I am guessing that is not the problem, but I am not sure...

Any advice you could provide will be appreciated!

-Ricardo

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions