[NOT BOOTING]Built Android N Developer Preview

I've Got it to build, but it doesn't boot!

Code: [ 1.923077] init: SELinux: Could not load policy: Invalid argument [ 1.923194] init: failed to load policy: Invalid argument [ 1.923242] init: Security failure; rebooting into recovery mode...

Also I've been getting an error to build itself.

Here's the error that I'm facing. Would be nice if someone can help me out.

I've never faced such an out of memory error while compiling ROMs for LP or MM either.

Weird I'm getting them now.

More Info About My Error:



I've read online that there's a way to increase the java heap size but then they also said that unless absolutely sure, increasing java heap size would only delay the final outcome and that increasing it would be no use if there's a memory leak in the code itself.

So not sure whether I must do it or not.

It shows Google Logo and then reboots , keeps looping that way, tried pulling last_kmsg from recovery but the last_kmsg is showing the information about booting to recovery and not the system somehow.Last_Kmsg : http://hastebin.com/awerutatak.sm Hey peopleSo by now many of you may have noticed that the Android N developer preview isn't there for our Nexus 5.But then again, the source for android N and also the device kernel trees respectively are all available. I've taken latest vendor binaries (MMB29V) from the google factory images website.So I thought, I'd try building from source. I've also heard that someone already built but it doesn't boot and I figured instead of doing it separately, we could all do it together by posting fixes and stuff here.My system is aAMD A8 6410 APU (Quad Core 2.0 GHz)8 GB DDR3 RAMnot too great but at least gets the job done.Thanks