Is 64k too much for Domino?
by Volker Weber
Comments
Na endlich. Wieder mal was zu meckern. Herr Lehrer, ich weiß was. Das ist soooo typisch deutsch. Jadda jadda - es nervt, Herr Weber !
Not for Domino, but for the noteslog.logAction method...
If you are logging extensively for debugging purposes (or encounter bugs which produce lots of messages in your professionally built error handling :-) ), you encounter an annoying limitation of the NotesLog class: it will not only log your messages/errors into a Notes database (which has no such limit), but into the agent itself (you can access the log by right clicking the agent in the agent list). And the latter seems to be limited to 64K. Which makes logging crash your application sometimes :-( .
Paul seems to have debugging turned on for some web agent on his server...
That makes sense, thank you. I had never seen this before from Domino http.
Kind of funny if you display an error trying to log an error. Another entry for Paul's Worst Practices. :-)
[One good comment from Bill removed in order to correct my own mistake. Thank you, Bill. vowe]
Ich finde gar nicht das das nervt. Es ist zwar schade das eine kritische Betrachtung der IBM weitgehend nur noch auf vowe.net stattfindet aber lieber nur hier als nirgendwo. Und die Fehlermeldung hat ja im Zeitalter von Terabyte und 64Bit durchaus etwas kurioses.
Ich konnte zumindest drüber schmunzeln.
I would care more about the 64k limit within fields. Makes me want to cry when sending messages to rather large groups (that only contain subgroups ;)
I have seen this error lately on some Domino blogs. I can't remember which ones they were.
People keep clamboring for 64 bit support, so we thought we could do better than that @ 64 kbyte. Isn't 64k enough already?!
- IBM
@IBM "Isn't 64k enough already?!"
No
This really is one of my pet hates in Notes. I spend too much time working around the 32k / 64k limitations in fields / items.
32k / 64k limits don’t matter any more. We have Eclipse, XPages and widgets now.
@Ben,
Are you being snarky?
@Bruce, Nope, he's just being English. :D
"I had never seen this before from Domino http."
I definitely have, and not always due to the NotesLog class.
As Rob (pretty much) alludes… “snarky” == English :o)
Maybe I have been lucky. Even the largest Domino sites that I was involved in did not throw this error.
Ben has a a very good document on Notes/Domino limits.
Kerr, what would happen to you skills, if those limits suddenly went away. Anybody remember how important it once was to squeeze as much memory as possible by tuning config.sys? :-)
@Volker, You shouldn't see it on a well behaved app, but I've come up against it while developing quite a bit. The developer just needs to make sure they guard against it.
@Ben I think that's only true for sufficiently large values of "snarky."
/snark
@volker, I absolutely agree. As frustrating as I find it I know that all my mad skillz would evaporate if I didn't have to beat my head against the same blood soaked wall every day. Someone once suggested that if these kind of productivity limiting time syncs were removed I'd be able to hone über mad skillz. But that's just piffle. I certainly hope that Lotus aren't planing on putting any of those new fangled code editing features in designer 8.5. I'll have to switch back to cutting and pasting code written in notepad lest I lose all code editing skills as well. ;)
@Ben Yes, we all have Eclipse, XPages, widgets and all the shiny stuff. But do your customers have it too?