[Linuxdcpp-team] [Bug 716632] Re: DC++ 0.781 can't open large filelist
Max filelist size This setting controls the size of the maximum file list that DC++ will open, in mebibytes. This setting helps protect against malformed file lists that require large amounts of memory to decode. You may need to reduce or increase the value of this setting based on personal experience. (default: 512 MiB) http://dcplusplus.sourceforge.net/webhelp/settings_expert.html ** Changed in: dcplusplus Status: New = Invalid -- You received this bug notification because you are a member of Dcplusplus-team, which is subscribed to DC++. https://bugs.launchpad.net/bugs/716632 Title: DC++ 0.781 can't open large filelist Status in DC++: Invalid Bug description: Several users in our hub have reported they can't open a large filelist, it starts to expand the folders and then stops with the following errormessage: 268435352: Greater than maximum allowed size. The filelist is about 73 MB in size. It seems to work in other clients, DC++ seems to be the only affected client, not sure whether older versions are affected. It's also possible to decompress the filelist and then open it in Notepad, and as far as I can se the xml seems to be ok. If you need the filelist, let me know. ___ Mailing list: https://launchpad.net/~linuxdcpp-team Post to : linuxdcpp-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~linuxdcpp-team More help : https://help.launchpad.net/ListHelp
Re: [Linuxdcpp-team] [Bug 716632] Re: DC++ 0.781 can't open large filelist
Well, if I do my math correctly 512 Mib translates to 536870912 bytes and the filelist I reported has a size of 93590669 bytes, lots of margin imho. KjellBrell 2011/2/10 eMTee 716...@bugs.launchpad.net Max filelist size This setting controls the size of the maximum file list that DC++ will open, in mebibytes. This setting helps protect against malformed file lists that require large amounts of memory to decode. You may need to reduce or increase the value of this setting based on personal experience. (default: 512 MiB) http://dcplusplus.sourceforge.net/webhelp/settings_expert.html ** Changed in: dcplusplus Status: New = Invalid -- You received this bug notification because you are a direct subscriber of the bug. https://bugs.launchpad.net/bugs/716632 Title: DC++ 0.781 can't open large filelist Status in DC++: Invalid Bug description: Several users in our hub have reported they can't open a large filelist, it starts to expand the folders and then stops with the following errormessage: 268435352: Greater than maximum allowed size. The filelist is about 73 MB in size. It seems to work in other clients, DC++ seems to be the only affected client, not sure whether older versions are affected. It's also possible to decompress the filelist and then open it in Notepad, and as far as I can se the xml seems to be ok. If you need the filelist, let me know. To unsubscribe from this bug, go to: https://bugs.launchpad.net/dcplusplus/+bug/716632/+subscribe -- You received this bug notification because you are a member of Dcplusplus-team, which is subscribed to DC++. https://bugs.launchpad.net/bugs/716632 Title: DC++ 0.781 can't open large filelist Status in DC++: Invalid Bug description: Several users in our hub have reported they can't open a large filelist, it starts to expand the folders and then stops with the following errormessage: 268435352: Greater than maximum allowed size. The filelist is about 73 MB in size. It seems to work in other clients, DC++ seems to be the only affected client, not sure whether older versions are affected. It's also possible to decompress the filelist and then open it in Notepad, and as far as I can se the xml seems to be ok. If you need the filelist, let me know. ___ Mailing list: https://launchpad.net/~linuxdcpp-team Post to : linuxdcpp-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~linuxdcpp-team More help : https://help.launchpad.net/ListHelp
[Linuxdcpp-team] [Bug 716632] Re: DC++ 0.781 can't open large filelist
The setting specifying the uncompressed size of the .xml file, of course... a 93MiB bzip compressed file list can be well over 512MiB, if uncompressed. Anyway, I thought its obivious that you must tell your users that they need to rise this setting or use Browse file list instead (if you run an ADC hub). Btw. opening a file list this large may result long freeze and/or swapping on an older computer with slow cpu and small amount of ram. So you'd better ask these large sharers to use multiple clients with their share divided in your hub. Its recommended even because some DC clients (eg. StrongDC++ and its derivatives) don't allow to configure this setting, they use a hardcoded maximum value instead (which is 256MiB, iirc)... -- You received this bug notification because you are a member of Dcplusplus-team, which is subscribed to DC++. https://bugs.launchpad.net/bugs/716632 Title: DC++ 0.781 can't open large filelist Status in DC++: Invalid Bug description: Several users in our hub have reported they can't open a large filelist, it starts to expand the folders and then stops with the following errormessage: 268435352: Greater than maximum allowed size. The filelist is about 73 MB in size. It seems to work in other clients, DC++ seems to be the only affected client, not sure whether older versions are affected. It's also possible to decompress the filelist and then open it in Notepad, and as far as I can se the xml seems to be ok. If you need the filelist, let me know. ___ Mailing list: https://launchpad.net/~linuxdcpp-team Post to : linuxdcpp-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~linuxdcpp-team More help : https://help.launchpad.net/ListHelp
[Linuxdcpp-team] [Bug 716632] Re: DC++ 0.781 can't open large filelist
Instead of slurping the entire 322MB file into a string, then parsing that string manually using a homegrown XML parser, wouldn't it make more sense to use a SAX-based XML parsing library that can read the file/network stream and parse it? This would reduce the memory requirements and improve the performance. Just a thought. -- You received this bug notification because you are a member of Dcplusplus-team, which is subscribed to DC++. https://bugs.launchpad.net/bugs/716632 Title: DC++ 0.781 can't open large filelist Status in DC++: Invalid Bug description: Several users in our hub have reported they can't open a large filelist, it starts to expand the folders and then stops with the following errormessage: 268435352: Greater than maximum allowed size. The filelist is about 73 MB in size. It seems to work in other clients, DC++ seems to be the only affected client, not sure whether older versions are affected. It's also possible to decompress the filelist and then open it in Notepad, and as far as I can se the xml seems to be ok. If you need the filelist, let me know. ___ Mailing list: https://launchpad.net/~linuxdcpp-team Post to : linuxdcpp-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~linuxdcpp-team More help : https://help.launchpad.net/ListHelp