Forum Discussion
Notebook – input/keypress lagging when writing in code cell
- 1 year ago
Adding on this, I just stumbled upon this page with the limiations on notebooks: https://learn.microsoft.com/en-us/fabric/data-engineering/notebook-limitation
It mentions 256 cells maximum per notebook, so your running close to the upper boundary, which could indicate that your reaching the limit of what's possible within a single notebook item. 🙂
Hi ObungiNiels
Thank you for your input – it is much appreciated.
I have tried removing all output as I indeed use display alle over. This particular notebook is an ad-hoc notebook for all kinds of small code snippets and markdown cells (just with headings so I can easily navigate. It had close 200 cells (150 code cells but a lot of then just small small test with now output). After I removed all output it may be a little bit faster but not much – even a small delay when you are writing is very annoying as some times you write a few words and then wait for it to display. I then tried moving all markdown cells to see if that had any impact – it did not.
If I take a blank notebook the issues does not seem to be there - my guess it might be the number of cells might be the problem?
(by the way – my pc. has 32 gb ram and is running about 50-70% memory most of the time)
Hi KimTutein ,
I agree. I can remember that I had constant performance issues in one particular notebook of mine which included very lengthy transformations with a lot of cells. Limiting the number of cells and sepearating your code into two notebooks might help with the performance.
I reckon it makes sense to check if you can find some sort of logical partitions in your notebook and possibly split it up into multiple items. You could group those notebooks in a folder within your workspace to maintain order.
Kind regards,
Niels
- ObungiNiels1 year agoResolver III
Adding on this, I just stumbled upon this page with the limiations on notebooks: https://learn.microsoft.com/en-us/fabric/data-engineering/notebook-limitation
It mentions 256 cells maximum per notebook, so your running close to the upper boundary, which could indicate that your reaching the limit of what's possible within a single notebook item. 🙂