Thanks Matt,

i looked at the KB article and the download files available. They did not 
have a hotfix specific to Windows 2012 Server  :(

cheers!

On Friday, June 3, 2016 at 11:49:01 AM UTC-4, Matt Davis wrote:
>
> Tried the following hotfix?
>
> https://support.microsoft.com/en-us/kb/2842230
>
> On Friday, June 3, 2016 at 7:58:50 AM UTC-7, JeffElep wrote:
>>
>> we are currently running Ansible Tower 2.1
>>
>> target is Windows Server 2012 with SP2 \ running WinRM 3.0
>>
>> in a playbook i have the following task
>>
>>     - name: string text togeter
>>       raw: cmd /c ant -buildfile deploy.xml stop-srvc1
>>
>> i also tried:
>>
>>     - name: string text togeter
>>       raw: ant -buildfile deploy.xml stop-srvc1
>>
>> Initially, the ant command was included in a PowerShell script and my 
>> playbook tasks looked like:
>>
>>     - name: string text togeter
>>       script: files/scripts/antScript.ps1
>>
>> each run, we encountered the following error:
>>  Error: Could not create the Java Virtual Machine.
>> Error: A fatal exception has occurred. Program will exit.
>> with stderr:
>>   Error occurred during initialization of VM
>>   Unable to allocate 32768KB bitmaps for parallel garbage collection for 
>> the requested 1048576KB heap.
>>
>> I have increased the value for WinRM's MaxMemoryPerShellMB to 2048, which 
>> produced the same error. I later found that this property is being ignored 
>> by WinRM.
>>
>> note: when "ant -buildfile deploy.xml stop-srvc1" is run locally at the 
>> Windows server, it is completed successfully.
>>
>> please let me know if there is anything we can do at the Ansible side to 
>> reduce the amount of details being pushed to the target server along with 
>> the payload.
>>
>> thanks
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/6f7d1bdb-5a8f-43bd-81ae-1f1b04d30380%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to