IBM®
Skip to main content
    Country/region select      Terms of use
 
 
   
     Home      Products      Services & solutions      Support & downloads      My account     

developerWorks  >  Lotus  >  Forums & community  >  Best Practice Makes Perfect

Best Practice Makes Perfect

A collaboration with Domino developers about how to do it and how to get it right in Domino

From a service issue I've been working with one of our customers, I've discovered that there's a problem importing DXL containing large blocks of base64 data -- more than 4MB -- which would include any file attachments > 3MB, for instance. You would get this error message in the importer log: "Base64 byte stream contains invalid data or is too large to store in a single note item." (Of course, you can also get this error if your data really is invalid.)

This might happen in about 2% of cases involving large attachments or other large base64 blocks, and is essentially random (but consistent for a given input DXL).

I've come up with a fix for this in 8.5.3, and we're building a hotfix for at least one other version. If this may be an issue for your applications, please contact Lotus Support, referencing SPR #AGUD8D7V55. I'm also writing a technote, currently in internal review.

Andre Guirard | 17 January 2011 12:48:43 PM ET | Home, Plymouth, MN, USA | Comments (4)


 Comments

1) Thanks alot I have seen this but never found why
Fredrik Norling | 1/17/2011 1:55:36 PM

This Will help, keep up the good work with the dxl import export.

I'm waiting for the day we get a 100% round trip.

And import export of xpages on serverside.

2) Also should be faster
Andre Guirard | 1/17/2011 2:53:01 PM

BTW I also see a way to make importing of attachments a lot faster. Working on that today.

3) Please also try to make attachment exporting faster
Karsten HW Lehmann | 1/17/2011 4:01:32 PM

In a project we noticed that extracting large attachments as DXL took VERY long time, looked like exponential duration increase. Felt like a bug or bad implementation in the Base64 encoder.

4) any relation with DAOS
Lars Berntrop-Bos | 1/17/2011 4:08:58 PM

I mean, check code there too as it relates to attachments as well...

5) Yes, I can confirm that DAOS may have performance issues
Karsten HW Lehmann | 1/17/2011 4:19:42 PM

We DAOS-enabled a document library when the first DAOS Domino release came out. I think LZ1 compression was enabled before we enabled DAOS for the database.

we experienced 100% CPU usage (nhttp task) when downloading a 100 MB attachment on the web and decided to disable DAOS again. There was no such effect when downloading via the Notes client.

 Add a Comment
Subject:
   
Name:
Comment:  (No HTML - Links will be converted if prefixed http://)
 
Remember Me?     Cancel

Search this blog 

Disclaimer 

    About IBM Privacy Contact