# Upgrading to 64 bit ???

**URL:** <https://forum.xwiki.org/t/upgrading-to-64-bit/6392>\
**Category:** Help / Discuss\
**Created:** [March 2, 2020, 10:03am UTC](https://forum.xwiki.org/t/upgrading-to-64-bit/6392 "2020-03-02T10:03:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lacazet2k](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/l/a3d4f5/32.png) [@lacazet2k](https://forum.xwiki.org/u/lacazet2k)\
**Post date:** [March 2, 2020, 10:03am UTC](https://forum.xwiki.org/t/upgrading-to-64-bit/6392/1 "2020-03-02T10:03:26Z")

</div>

I have been running XWiki 10.6.1 on a 64 bit Windows VM with 32 bit java, with no issues except that the 32 bit java limits the working memory to about 1 gig.

In consequence, I have installed 64 bit java.

XWiki works perfectly with this change, as far as I can tell, with the single exception that the LDAP login is broken.

I can log in using a local Admin account, but LDAP login attempts give me the ‘Invalid credentials’ message. If I uninstall 64 bit java and go back to 32, everything returns to normal and I can once again log in using LDAP.

This is very mysterious to me since it only appears to affect the LDAP. Does anyone have an idea what might be happening here?  
tks

---

<div class="post-metadata">

**Author:** ![tmortagne](https://forum.xwiki.org/user_avatar/forum.xwiki.org/tmortagne/32/4930_2.png) [@tmortagne](https://forum.xwiki.org/u/tmortagne)\
**Post date:** [March 3, 2020, 8:33am UTC](https://forum.xwiki.org/t/upgrading-to-64-bit/6392/2 "2020-03-03T08:33:28Z")

</div>

You should enable [debug log](https://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Authenticator/#HEnableLDAPdebuglog) to check exactly what is failing during the authentication.
