Using windows service to run Console application which will generate Excel and convert it to pdf.

When i run that console application manually it works like a charm but when windows service start it it does pop up error

Not enough storage is available to complete this operation. (Exception from HRESULT: 0x8007000E (E_OUTOFMEMORY))
Windows service to start console app is using code shown bellow
Code:
Private Sub ProcessStart(path As String)
        Dim proc As New Process

        proc.StartInfo.UseShellExecute = False
        proc.StartInfo.CreateNoWindow = True
        proc.StartInfo.ErrorDialog = False

        proc.StartInfo.RedirectStandardOutput = True
        proc.StartInfo.FileName = path

        proc.Start()

        proc.WaitForExit()
        Dim output As String = proc.StandardOutput.ReadToEnd()

    End Sub
Console application use code above to generate the pdf file

Code:
workbook.ExportAsFixedFormat(Excel.XlFixedFormatType.xlTypePDF, myCfg.ExportPath & "\" & fileName & ".pdf", Excel.XlFixedFormatQuality.xlQualityStandard)
And that was the line which throw mentioned error.

What i have tried

Tried to set Interactive user in window compnents on excel

Result : Error
Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).