.Net服务在解压12GB文件时崩溃。

huangapple go评论68阅读模式
英文:

.Net service crashing while Unzipping 12GB File

问题

我们正在使用一个服务,该服务使用Chilkat的第三方库来解压一个大小较大的zip文件。

对于小型文件,它可以正常工作。
但是在处理7GB或更大的文件时,会导致服务崩溃,除了以下信息外,没有进一步的信息 -

故障应用程序名称:Service.exe,版本:1.0.0.0,时间戳:0xe39527e5
故障模块名称:未知,版本:0.0.0.0,时间戳:0x00000000
异常代码:0xc00000fd
故障偏移量:0x04891bbc
故障进程ID:0x8d6c
故障应用程序启动时间:0x01d99cf461b00da6
故障应用程序路径:"路径\Service.exe"
故障模块路径:未知
报告ID:9fabcdd5-9043-4686-a072-c1216eb91e44
故障程序包全名: 
故障程序包相对应用程序ID:
英文:

We are using a service which uses a third party library of Chilkat to unzip a large sized zip file.

It works fine with small sized file.
But in case of bigger size like 7GB or more then the causes service to crash with no further information except the below -

Faulting application name: Service.exe, version: 1.0.0.0, time stamp: 0xe39527e5
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc00000fd
Fault offset: 0x04891bbc
Faulting process id: 0x8d6c
Faulting application start time: 0x01d99cf461b00da6
Faulting application path: "Path\Service.exe"
Faulting module path: unknown
Report Id: 9fabcdd5-9043-4686-a072-c1216eb91e44
Faulting package full name: 
Faulting package-relative application ID: 

答案1

得分: 1

32位或64位?

所有Chilkat组件都具有出色的状态代码和详细的故障文本,当您检测到故障时,可以访问它们。因此,请检查成功并如果检测到故障,则显示故障文本。

成功/失败返回值
返回布尔值的方法始终对成功返回True,对失败返回False。(ActiveX方法对成功返回1,对失败返回0。Objective-C方法对成功返回YES,对失败返回NO。)如果方法返回Chilkat对象的新实例,则在失败时返回NULL(或nil、null、0等,具体取决于编程语言)。

LastErrorText
LastErrorText属性适用于所有编程语言中的大多数Chilkat类/对象。它提供有关在对象实例上调用的最后一个方法的详细信息。LastErrorText是获取有关方法为何失败或行为异常的更多信息的首要位置。即使方法调用成功,LastErrorText也会包含信息。

英文:

32-bit or 64-bit?

All Chilkat components have excellent status codes and detailed failure text that you can access when you detect a failure. So check for success and if you detect a failure, display the failure text.

Success/Failure Return Values
Methods that return a boolean always return True for success and False for failure. (ActiveX methods return 1 for success, 0 for failure. Objective-C methods return YES for success and NO for failure.) If a method returns a new instance of a Chilkat object, a NULL (or nil, null, 0, etc. depending on the programming language) is returned upon failure.

LastErrorText
The LastErrorText property is common to most Chilkat classes/objects in all programming languages. It provides detailed information about the last method called on an object instance. The LastErrorText is the first place to get more information about why a method failed or behaved unexpectedly. The LastErrorText will contain information even when a method call is successful.

huangapple
  • 本文由 发表于 2023年6月13日 00:21:24
  • 转载请务必保留本文链接:https://go.coder-hub.com/76458553.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定