【问题标题】:Remote application through Powershell - Sudden OutOfMemoryException通过 Powershell 远程应用程序 - 突然 OutOfMemoryException
【发布时间】:2018-04-04 01:04:47
【问题描述】:

我有一个使用 Powershell 运行可执行文件的 SSIS 包。这工作了一年多,但突然间我得到了这个奇怪的错误。我已经隔离了命令:

& '\\iguana01\VMMa\Process e-Invoice\ProcesseInvoice.exe' @('/countfiles','46')

如果我在自己的 PC 上运行此命令,则没有问题

但是如果我在服务器 (2012) 上运行相同的命令,那么我会收到这个奇怪的错误

当我从本地文件夹在 2012 服务器上运行它时,此错误消失

事件查看器没有给我更多信息,.NET Runtime 1026 错误

Application: ProcesseInvoice.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.OutOfMemoryException
Stack:
   at ProcesseInvoice.Program.Main(System.String[])

还有一个应用程序错误 (1000)

Faulting application name: ProcesseInvoice.exe, version: 2.2.4.0, time stamp: 0x5857fbf7
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e211319
Exception code: 0xe0434352
Fault offset: 0x0000b9bc
Faulting process id: 0x4488
Faulting application start time: 0x01d34be3a1f4ea5d
Faulting application path: \\iguana01\VMMa\Process e-Invoice\ProcesseInvoice.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: dfaca8c6-b7d6-11e7-b19f-005056b765a3

不知道问题出在哪里,不知道该往哪个方向看。

【问题讨论】:

标签: windows powershell ssis network-protocols


【解决方案1】:

相当愚蠢,似乎 processinvoicing*32.exe 仍在服务器上的进程下运行。 Powershell 和 eventviewer 中的日志记录不太清楚。

【讨论】:

    猜你喜欢
    • 2022-10-22
    • 1970-01-01
    • 1970-01-01
    • 2023-03-25
    • 1970-01-01
    • 2016-04-24
    • 2021-11-08
    • 1970-01-01
    • 2021-03-09
    相关资源
    最近更新 更多