One option would be to split the material across multiple books. That wouldn't be very hard for a lot of technical topics, and isn't usually that hard to do for fiction (the cliffhanger ending has a long, long history).
A side benefit is that it might reduce "book bloat" - the tendency in recent years for programming books to weigh about 20 kg.
A side benefit is that it might reduce "book bloat" - the tendency in recent years for programming books to weigh about 20 kg.