EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Memory issue with SecureBB (SSL)

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#2581
Posted: 03/20/2007 08:46:10
by Eugene Mayevski (EldoS Corp.)

As stated on the Contact Us page, we don't provide phone support.


Sincerely yours
Eugene Mayevski
#2582
Posted: 03/20/2007 08:49:44
by Krish A (Basic support level)
Joined: 11/19/2006
Posts: 10

Ok tht is fine. But what happenned to my issue? Are you working on it? Is there no solution? Should I wait for an answer? This is urgent and our entire product relies on this core component. Let me know.
#2583
Posted: 03/20/2007 08:55:43
by Eugene Mayevski (EldoS Corp.)

As I mentioned in the previous post, the problem (with your sample) happens only with .NET 1.1. The problem is related to the fact, that arrays, allocated on the stack, are never collected by GC. Of course, there are no external references to those arrays. At the moment we have no solution nor a workaround, cause this seems to be CLR problem. Moreover, .NET 2.0 solves the problem (again, in your sample).
We will try to reproduce the issue with a simple case and submit it to Microsoft. This can take indefinite time.


Sincerely yours
Eugene Mayevski
#2587
Posted: 03/20/2007 12:23:05
by Eugene Mayevski (EldoS Corp.)

1) My previous investigations regarding on-stack objects appeared to be incorrect, - AQTime erroneously reported incorrect info.
2) The developers reported that they did make some mistake that could lead to the leak of internal crypto objects. They are now investigating the issue. If this is the reason of the "leak", then the next build which we planned to release the last weekend (but delayed due to the open memory issue), will contain the fix.


Sincerely yours
Eugene Mayevski
#2588
Posted: 03/20/2007 21:25:25
by Krish A (Basic support level)
Joined: 11/19/2006
Posts: 10

I look forward for the next release :)
#2593
Posted: 03/22/2007 07:39:54
by Krish A (Basic support level)
Joined: 11/19/2006
Posts: 10

Any update on this? We appreciate your efforts on this.

Regards
#9855
Posted: 04/29/2009 04:26:12
by Monika Sharma (Standard support level)
Joined: 02/20/2009
Posts: 20

Hi

I am using ASP.nEt 2.0 and SecureBlackbox, Version=6.1.0.150
I am also facing the same issue
This is the stach trace

Exception Type: System.OutOfMemoryException
Message: Exception of type 'System.OutOfMemoryException' was thrown.
Assembly: SecureBlackbox, Version=6.1.0.150, Culture=neutral, PublicKeyToken=5a62fa96d0ac431a
Assembly In GAC?: True
Member: __Global
Method: Void SetLength(Byte[] ByRef, Int32)
StackTrace: at SBUtils.__Global.SetLength(Byte[]& aBytes, Int32 aLength)
at SBSSHCommon.TElSSHClass..ctor(Component AOwner)
at SBSSHCommon.TElSSHClass..ctor()
at SBSSHClient.TElSSHClient..ctor(Component AOwner)
at SBSimpleSftp.TElSimpleSFTPClient..ctor(TSBComponentBase AOwner)
at SBSimpleSftp.TElSimpleSFTPClient..ctor()


Is there any way to solve this problem.

Thanks & Regards
Monika Sharma
at Hewitt.HM.HPT.SFTPClient.InitSftp()
#9856
Posted: 04/29/2009 05:53:12
by Ken Ivanov (EldoS Corp.)

As far as I remember, IIS allows to configure the amount of memory available for particular ASP.NET script. A single SFTP/SSH client instance allocates 512Kb of memory for input/output buffers by default, so the only solution would be to increase the amount of memory that can be allocated by a script.
#9858
Posted: 04/29/2009 06:55:47
by Monika Sharma (Standard support level)
Joined: 02/20/2009
Posts: 20

Hi

We are connecting SFTP through window service. So could you please let us know how to increase the amount of memory that can be allocated by a script.


Thanks & Regards
Monika Sharma
#9859
Posted: 04/29/2009 07:02:47
by Eugene Mayevski (EldoS Corp.)

Let's continue in the helpdesk please, where you have the ticket already (to which I answered). If you have additional information about your configuration such as whether your code runs as a Windows application (including service) or from ASP.NET, please post this information in your ticket.


Sincerely yours
Eugene Mayevski
Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.

Reply

Statistics

Topic viewed 7738 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!