Open m-shahada opened 3 years ago
Hi @m-shahada. The --generate-config
option is used to generate a configuration file with pre-filled defaults, all of which are commented out. The idea being that you would then uncomment the appropriate option, set the appropriate value, and restart notebook. The generated configuration file is displayed as output to jupyter notebook --generate-config
.
For example, the file's entry corresponding to max_buffer_size
appears as follows:
## Gets or sets the maximum amount of memory, in bytes, that is allocated for use
# by the buffer manager.
#c.NotebookApp.max_buffer_size = 536870912
You probably don't need to adjust max_buffer_size
, but you certainly wouldn't want to adjust to 4 bytes.
i noticed that my Juypter notebook gets too slow after some cells
Your slow down could very likely be related to the kinds of operations you're performing in each of your cells. Are large amounts of data being transferred?
When encountering these kinds of situations, I would also check if the same behavior is exhibited in another medium. For example, does the same slow down occur in a straight python program or via the IPython REPL directly. (The latter of which is very close to the notebook operation since the python kernel is built on IPython in the first place.)
Once you've analyzed where the slow down may be happening and it still appears directly related to notebook, please provide more information so we can try to narrow things down.
Thanks.
Hi Everyone,
I am new on python and coding , don't really understand that much about it . i am trying to practice some exercises but i noticed that my Juypter notebook gets too slow after some cells .
i looked around and i found someone said advised to use this good but it didn't really work jupyter notebook --generate-config NotebookApp.max_buffer_size = 4
but i have an error of invalid syntax
Appreciate your help , Thank you